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 Pen-Test
[Top] [All Lists]

Re: Oracle SQL Injection vulnerability

Subject: Re: Oracle SQL Injection vulnerability
Date: Wed, 21 Nov 2007 01:56:10 +0000 (GMT)
Hey Zed,

You hit the bulls eye. 

Now I gave 123 OR 1=1-- as the injection in username
field.. I don't get the same error on a previous line
but a new error further down the code which says:

"ORA-01722: invalid number"

Looks like the query earlier is:

SELECT COUNT(*) FROM TABLENAME  WHERE ID = '" &
txtUser.Text & "' and PASSWORD =  '"...

Now this query is fired fine. But the execution breaks
in the next line that says (yes error's are not
hidden):
 
If CInt(cmd.ExecuteScalar()) > 0 

Suggestions what's going wrong here?

Thanks a ton guys.

 --- Zed Qyves <zqyves.spamtrap@gmail.com> wrote: 
Hello,

Wild guess but can the username be numeric only
rather than
alphanumeric as everyone expects? People often
misconceive that the
username field as alpha while it may very well not
be ...That would
explain why you are still getting the "ORA-01756:
quoted string not
properly terminated" even when you appear to
terminating correctly.
what if you input "123 or 1=1--" (strip ") in the
username field?

regards,
./ZQ

-- 

---------------------------------------------------------------------
Î?Ï?έÏ?ν
á¼?ν Ï?á¿?δ᾽ á¼?Ï?αÏ?κε γá¿?· Ï?ὸ δὲ
ζηÏ?οÏ?μενον
á¼?λÏ?Ï?Ï?ν, á¼?κÏ?εÏ?γειν δὲ
Ï?á¼?μελοÏ?μενον.
Î?ιδίÏ?οÏ?Ï? ΤÏ?Ï?Ï?ανοÏ? [110]

---------------------------------------------------------------------
Creon
In this our land, so said he, those who seek  Shall
find; unsought, we
lose it utterly.
Oedipus Rex [110]

---------------------------------------------------------------------
 


      Bring your gang together - do your thing. Go to 
http://in.promos.yahoo.com/groups


------------------------------------------------------------------------
This list is sponsored by: Cenzic

Need to secure your web apps NOW?
Cenzic finds more, "real" vulnerabilities fast.
Click to try it, buy it or download a solution FREE today!

http://www.cenzic.com/downloads
------------------------------------------------------------------------

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