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.




Network Security Web-App-Sec
[Top] [All Lists]

Re: ODBC Injection

Subject: Re: ODBC Injection
Date: Wed, 30 Nov 2005 14:37:36 -0500

Hello John

Try the new line trick (%0A), i remember this helped
me for a coldfusion + access pen testing,
dunno if it'll be good for you :

http://test.com/test.asp?sIdProduct=1%0AINSERT INTO products ('odbc injected
product');

you may also try CR trick (%0D), results depends on the OS

HTH

Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau

----- Original Message ----- 
From: "John Cobb" <johnc@nobytes.com>
To: <webappsec@securityfocus.com>
Sent: Wednesday, November 30, 2005 6:38 AM
Subject: ODBC Injection


Hello All,

I'm testing an ecommerce app on IIS6 with an M$ Access Database and I have
found some injection:

http://test.com/test.asp?sIdProduct=1

I get the following error when I insert alpha characters rather than
numbers.
I cannot manipulate this much, does anybody have any suggestions?

Eg:

http://test.com/test.asp?sIdProduct=test


Database operations error:

ODBC driver does not support the requested properties.

SELECT * FROM Products WHERE idProduct = test

ADODB.Recordset error '800a0e78'

Operation is not allowed when the object is closed.

/test.asp, line 135

Thanks

John Cobb
www.nobytes.com







<Prev in Thread] Current Thread [Next in Thread>