Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: PHP and MySQL |
|---|---|
| Date: | Thu, 19 Jan 2006 11:15:12 +0200 (IST) |
On Wed, 18 Jan 2006, John Madden wrote:
Hi,
I'm pentesting a web site and i get the following error message while using a single quote: ex. /confirm.php?conf='test123
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /xx/xx/confirm.php on line 5
[...snip]
And how do we fix this vulnerability ? Besides the PHP code itself (sanitize user input), is it a PHP setting (php.ini) ?
You might also want to set display_errors = Off in php.ini.
-- - Josh
http://www.securityfocus.com/sponsor/pen-test_050831 -------------------------------------------------------------------------------
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Survey on Vuln Disclosure: Request for Participation, Richard Forno |
|---|---|
| Next by Date: | RE: PHP and MySQL, Derick Anderson |
| Previous by Thread: | Re: PHP and MySQL, AdamT |
| Next by Thread: | RE: PHP and MySQL, Derick Anderson |
| Indexes: | [Date] [Thread] [Top] [All Lists] |