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: Is this expoitable via sql injection? |
|---|---|
| Date: | Fri, 14 Jan 2005 16:46:15 +0100 |
Hi,
i get the following error if i use foo"bar as username on a friends page:
You have an error in your SQL syntax near 'bar$" AND `password` = '5f4dcc3b5aa765d61d8327deb882cf99'' at line 3] ( 1064 : You have an error in your SQL syntax near 'bar$" AND `password` = '5f4dcc3b5aa765d61d8327deb882cf99'' at line 3 )
foo'bar does nothing. The password field is immune to injects with double quotes.
I think it is not exploitable, but i'm not an sql expert.
Regards, Nils
I'd guess that your query looks something like:
query = 'SELECT * FROM XXX WHERE USERNAME = "' + username + '}$"';
username = 'foo$"--' // if you want to get access to user foo
username$, MD5(Password)
Maybe I'm reading your error message wrong, though.
Regards,
Rogan -- Rogan Dawes
*ALL* messages to discard@dawes.za.net will be dropped, and added to my blacklist. Please respond to "lists AT dawes DOT za DOT net"
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: as security pro's, how do you use the web now?, Haroon Meer |
|---|---|
| Next by Date: | RE: Two questions: FAQ and OWASP ASAC, Bob Auger |
| Previous by Thread: | Is this expoitable via sql injection?, Nils Gundelach |
| Next by Thread: | Re: Is this expoitable via sql injection?, Nils Gundelach |
| Indexes: | [Date] [Thread] [Top] [All Lists] |