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: Sql-Injection and XSS on ASP.Net Internal Application

Subject: Re: Sql-Injection and XSS on ASP.Net Internal Application
Date: Mon, 6 Mar 2006 20:37:08 -0000
Hi.

The error you got has to do with FoxPro missing a right parentesis on the function name.
So this suggest that the database server is foxpro.
For this I would suggest for you to test it against buffer overflow. Actually there was a buffer overflow vulnerability on foxpro driver and MS released a patch, now the question to ask is if your client has applied the patch. For this google a little and you'll find some usefull info.


André

----- Original Message ----- From: "3 shool" <3shool@gmail.com>
To: <pen-test@securityfocus.com>
Sent: Sunday, March 05, 2006 7:46 PM
Subject: Sql-Injection and XSS on ASP.Net Internal Application



Hi,

We are doing Penetration Testing, inclusive of Web Application
Assessment, for our client's internal application. We have identified
the OS as Windows 2003 server and Web server as IIS 6.0. The sever has
ports number 80 and 443 open.

Now when I visit the site I get a login form. I insert a simple sql
injection statement ' OR 1=1-- in username or password field and get
the result below from the server:

Microsoft OLE DB Provider for ODBC Drivers error '80004005'

[Microsoft][ODBC Visual FoxPro Driver]Function name is missing ).

/home.asp, line 34

Does this mean that the backend database server is Visual FoxPro? I
was hoping for an MSSQL server listeing at the backend.

I also did a simple XSS test on the username field
<script>alert('vulnerable');</script>
and got following:

Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Visual FoxPro Driver]Command contains unrecognized
phrase/keyword.

/home.asp, line 34

But nothing really popped up. So I don't think it is vulnerable to
XSS. Maybe the error came due to the ' in the statement.

Looking forward to some inputs from SQL Injection champions and anyone
who has some tricks in mind that I can play on this server.

Thanks.

------------------------------------------------------------------------------
This List Sponsored by: Lancope

"Discover the Security Benefits of Cisco NetFlow"
Learn how Cisco NetFlow enables cost-effective security across distributed
enterprise networks. StealthWatch, the veteran Network Behavior Analysis (NBA)
and Response solution, leverages Cisco NetFlow to provide scalable,
internal network security.
Download FREE Whitepaper "Role of Network Behavior Analysis (NBA) and Response
Systems in the Enterprise."


http://www.lancope.com/resource/
------------------------------------------------------------------------------





------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 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
------------------------------------------------------------------------------


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