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: | Sun, 16 Jan 2005 14:49:28 +0100 |
Hi,
i can't test your suggestions because he fixed the bug. Thanks for help! I'll keep that in mind.
Regards, Nils
I'd guess that your query looks something like:
query = 'SELECT * FROM XXX WHERE USERNAME = "' + username + '}$"';
I'm not sure which of the password fields you supplied, but it does not look right in the error message. One field should not have any quotes around it, I think?
Nonetheless, from the first part, we should still be able to inject SQL, using something like:
username = 'foo$"--' // if you want to get access to user foo
I add the '$' into the username, as it appears that the script does so itself. Maybe the database is structured something like:
username$, MD5(Password)
Maybe I'm reading your error message wrong, though.
Regards,
Rogan
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | RE: Proposal to anti-phishing, Lyal Collins |
|---|---|
| Next by Date: | Re: Data sanitization approaches in Java, Jeff Williams |
| Previous by Thread: | Re: Is this expoitable via sql injection?, Rogan Dawes |
| Next by Thread: | Exploits from command line?, Benjamin Livshits |
| Indexes: | [Date] [Thread] [Top] [All Lists] |