Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos network security services platform







Bugtraq: Re: sql injection in phpbb

Re: sql injection in phpbb

From: Jort Slobbe <jortslobbe_at_hetnet.nl>
Date: Sun, 09 Nov 2003 16:03:21 +0100

jocanor jocanor wrote:

>I found a vulnerability en phpbb 2.0.5 and prior, is probably also affect 2.0.6
>
>
>
>this bug don't affect to version 2.0.7
>
>
>
>phpbb have a list of registereds users, when you click on a memebr of this list, you are requesting data to the database
>
>
>
>for example:
>
>
>
>http://www.example.com/forum/profile.php?mode=viewprofile&u=2
>
>
>
>this url show the information to the user with the uid = 2, the uid is a number assigned to users in phpbb.
>
>
>
>but it isn't secure, because if you use this url, you can inject sql comands...
>
>
>
>exploit:
>
>
>
>http://www.example.com/profile.php?mode=viewprofile&u='[sqlcode]
>
>
>
>where [sql code] represents the code may be injected.
>
>
>
>
>
>
I think it doesn't affect on php servers where the magic_quotes are on.
Because magic_quotes replace ' in \'. And " in \". So it is unsecure
when you user phpbb 2.0.5 on a server with magic_quotes off.

Regards,

Jort
Received on Nov 10 2003

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]