Home page logo

pen-test logo Penetration Testing mailing list archives

Which SQL is that? SQL Injection question
From: Tonu Samuel <tonu () jes ee>
Date: Mon, 17 Jul 2006 10:01:50 +0300


I am doing penetration test for client and have weird situation. Seems like I 
have SQL injection hole and I can command SQL server in "blind" injection. In 
some reason common technique 

' or 'a'='a 

does not give right results but

' and 'a'='a 

does. Some examples:

Normal screen

Empty frame (means no result from SQL)

Generic error message. No reason explanation. Means that not Oracle. I also 
tried many other places like INFORMATION_SCHEMA to look up but no luck.

Also error. Again means not Oracle

This is weird. No error but no result either. Empty screen. Not MS SQL and 
many others. Why?

SQL gets proper result. 

Also works and provides result

emtpy screen

Error message! Very weird because in my best knowledge every SQL knows about 


Error again.

Any clue what is that SQL? As you see I can play with some syntaxes which 
belong to some language but it behaves wrong for common SQL engines. I know 
from headers that they use some XSLT middleware, Apache and ASP.NET. Probably 
few layers.


This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's
Choice Award from eWeek. As attacks through web applications continue to rise,
you need to proactively protect your applications from hackers. Cenzic has the
most comprehensive solutions to meet your application security penetration
testing and vulnerability management needs. You have an option to go with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request () cenzic com for details.

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]