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: Simple to exploit SQL Injection ? |
|---|---|
| Date: | Mon, 28 Nov 2005 08:11:41 -0500 |
The application is apparently "escaping" (doubling-up) quotes in the password field. This is good practice, although a better (best?) practice would be to parameterize the query. AFAIK, SQL injection on this form will be difficult, if not impossible. -----Original Message----- From: Jason binger [mailto:cisspstudy@yahoo.com] Sent: Sunday, November 27, 2005 7:50 PM To: webappsec@securityfocus.com Subject: Simple to exploit SQL Injection ? I am reviewing a .Net web application. When entering xyz for a username and ' for a password into a form I receive the following stack trace (extract): System.Exception: Can't Load DataReader using SQL string: 'SELECT * FROM users WHERE username = 'xyz' AND password = '''' -- Unclosed quotation mark before the character string '''. Line 1: Incorrect syntax near '''. Now I would have thought this would be easy to exploit, but I can't bypass the logon page. xyz is a valid username. Any ideas? Cheers __________________________________ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Apache mode_security, Ivan Ristic |
|---|---|
| Next by Date: | Re: Securing data from the browser to the DB, Eoin Keary |
| Previous by Thread: | Re: Simple to exploit SQL Injection ?, Yousef Syed |
| Next by Thread: | Re: Simple to exploit SQL Injection ?, Dean H. Saxe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |