Forums: Phpbb 2.0.4 - 2.0.6 Search Sql Injection Exploit - Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Phpbb 2.0.4 - 2.0.6 Search Sql Injection Exploit ppl need to get patching!

#1 User is offline   niko 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 62
  • Joined: 07-October 03

Posted 05 February 2004 - 07:21 PM

I tried this exploit on a lot of websites, I'd say I hit about a 50% success rate in getting the admin hash.

Note that this was discovered in November of last year, but still a lot of sites are open to it.

The phpBB Search SQL injection notes:

http://www.securityf...rchive/1/345937

you can test if you site is vuln by typing in <your url>/forum/search.php?search_id=1 OR blah=blah. If this raises an SQL error your site may be vuln. A patched version should return with "there were no results to your search".

Special note for anyone trying this out: The hex chars actually build the SQL table queries. It by default uses the first post on the site, which could have been deleted. I had much more success changing the 33rd character (after copying the string from the word "search.php" onward), to 50 or 51, to get the second or third post. (So you would have 34,50,34. or 34,51,34 in ascii). So just because it doesnt seem to work out of the box doesn't mean u aren't vuln.


so far I've got a list of 5 websites that were vuln. Just search google for "phpBB". I found that most phpBB 2.0.4 thru 2.0.6 are all vuln, unless they have a older mySQL database. On 3 of the sites I managed to crack the password hash with JTR in conjunction with KMD5. On the others I still was able to log in by enabling autologin and editing my cookie file.

Here is the link to the fix:

http://www.phpbb.com...p?f=14&t=153818

-niko
0

#2 User is offline   d00m 

  • Private First Class
  • Icon
  • Group: Members
  • Posts: 46
  • Joined: 10-January 04

Posted 07 February 2004 - 05:45 PM

A more accurate idea of vulnearble sites out there is searching for this sort of string which appears at the bottom of phpBB pages:

"Powered by phpBB 2.0.x" I advise people to inform the forum administrator about the problem.A nice way to win new friends.....
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

  • Share



Our Sponsors:


SwiftLayer Affiliate Web Hosting