RE: Scripts found on web server

From: Josh Perrymon (perrymonj_at_networkarmor.com)
Date: 09/29/05

  • Next message: Thomas Springer: "Re: How to check for SSL1 ?"
    Date: Thu, 29 Sep 2005 08:39:15 -0500
    To: "Hussein Ghazy (ProtechT)" <hussein.ghazy@protecht-me.com>, <pen-test@securityfocus.com>
    
    

    Are the .asp scripts valid and used on the website for auth?

    Login.asp should call to a backend DB for authentication so I'd try some
    SQL injection on it and see what you get.

    Type in ' in the user name a password box and see if it gives you a
    server error and not a verification error.

    If it does then you could try entering-

    Test' or 1=1-- in both fields and see what happens. This is very basic
    SQL injection and if it works it will log you in as the first user in
    the DB ( Usually admin )

    What it's doing is making the SQL statement true so it parses the query.

    JP
    Network Armor

    -----Original Message-----
    From: Hussein Ghazy (ProtechT) [mailto:hussein.ghazy@protecht-me.com]
    Sent: Tuesday, September 27, 2005 2:09 PM
    To: pen-test@securityfocus.com
    Subject: Scripts found on web server

    Hi,

    I was doing a penetration testing on one of our client's website, I
    found
    some scripts. How can I exploit them & how can I hide them from end
    users.

    Example:
    http://www.xyz.com/login.asp

    Thanks & Best Regards
    Hussein Ghazy

    ------------------------------------------------------------------------
    ------
    Audit your website security with Acunetix Web Vulnerability Scanner:

    Hackers are concentrating their efforts on attacking applications on
    your
    website. Up to 75% of cyber attacks are launched on shopping carts,
    forms,
    login pages, dynamic content etc. Firewalls, SSL and locked-down servers
    are
    futile against web application hacking. Check your website for
    vulnerabilities
    to SQL injection, Cross site scripting and other web attacks before
    hackers do!
    Download Trial at:

    http://www.securityfocus.com/sponsor/pen-test_050831
    ------------------------------------------------------------------------
    -------

    ------------------------------------------------------------------------------
    Audit your website security with Acunetix Web Vulnerability Scanner:

    Hackers are concentrating their efforts on attacking applications on your
    website. Up to 75% of cyber attacks are launched on shopping carts, forms,
    login pages, dynamic content etc. Firewalls, SSL and locked-down servers are
    futile against web application hacking. Check your website for vulnerabilities
    to SQL injection, Cross site scripting and other web attacks before hackers do!
    Download Trial at:

    http://www.securityfocus.com/sponsor/pen-test_050831
    -------------------------------------------------------------------------------


  • Next message: Thomas Springer: "Re: How to check for SSL1 ?"

    Relevant Pages

    • Re: sql injection: url or form based?
      ... start putting your SQL injection magic in the input boxes to ... Hackers are concentrating their efforts on attacking applications ... Check your website for vulnerabilities to SQL injection, ... Cross site scripting and other web attacks before hackers do! ...
      (Pen-Test)
    • Re: database server audit tools
      ... This thing was pretty limited last time I looked at it, and had no database audit capabilities. ... this is a nice SQL injection testing tool. ... >Audit your website security with Acunetix Web Vulnerability Scanner: ... Cross site scripting and other web attacks before hackers do! ...
      (Pen-Test)
    • RE: DISA Security Readiness Review Evaluation Scripts
      ... I've used the DISA disks to validate OS hardening dozens of times. ... DISA Security Readiness Review Evaluation Scripts ... > your website. ... Up to 75% of cyber attacks are launched on shopping ...
      (Pen-Test)
    • RE: MS SQL, find list of tables
      ... I'm doing a pen test on a IIS/MS SQL box and find a SQL Injection on it ... Audit your website security with Acunetix Web Vulnerability Scanner: ... Hackers are concentrating their efforts on attacking applications on your ... Up to 75% of cyber attacks are launched on shopping carts, forms, ...
      (Pen-Test)
    • RE: sql injection: url or form based?
      ... I see many references to manipulation of SQL backend databases through both URL based and Forms based SQL injection but I'm wondering what are the ... Hackers are concentrating their efforts on attacking applications on your website. ... Up to 75% of cyber attacks are launched on shopping carts, forms, login pages, dynamic content etc. Firewalls, SSL and locked-down servers are ...
      (Pen-Test)