Vissza a www.andrews.hu-ra

    [guru] Halozati eszkozok biztonsagi frissitesei


    DATE: Mon, 09 Mar 2009 12:48:25 +0100
    A Huawei E960 HSDPA Router képes a web felületén SMS-ek küldésére és
    fogadására. Az üzenet szövege azonban ellenőrizetlenül jelenik meg,
    így XSS hibát tartalmaz.
    
    XSS és response splitting hibát találtak az APC PowerChute Network Shutdown
    webes felületén.
    
    
    --- Begin Message ---
    XSS Attack using SMS to Optus/Huawei E960 HSDPA Router
    
    Synopsis
    --------
    
    Huawei E960 HSDPA Router (firmware version 246.11.04.11.110sp04) is vulnerable to XSS attack using SMS. One of the feature of this router is the ability to send and receive SMS through its web interface. The SMS text is presented unescaped/unfiltered on the inbox view, and an attacker can craft malicious short messages to gain control over victims router.
    
    Details
    --------
    The first 32 characters of every incoming SMS is presented in unescaped form in the inbox view. The 32 characters limit can be overcome by using several messages, and inserting javascript comment to merge the current message with the next one. 
    
    Example:
    
    First message ends with /* which will comment the all the HTML code up to the second message
    
    <script>alert('hello '/*
    
    and the second message will start with */ that will close the comment and continue the script:
    
    */+'world');</script>
    
    Note that newest message is presented first, so the order of the SMS sending must be reversed.
    
    Impact
    ------
    An attacker can 
    - get victim's PPP password by accessing /js/connection.js
    - disconnect victim's internet connection
    - send SMS with victim's router
    - gain access to victim's WIFI password
    
    Recovery
    --------
    After an attack is performed, the inbox page can not be used to delete the received messages (because the delete button doesn't work anymore). To remove offending messages from the inbox, telnet to the router with username 'admin' and password 'admin'. Huawei E960 uses busybox shell, so standard rm command can be used to remove the messages (it is located at /tmp/sms/inbox_sms). After removing the message content, the deleted messages will still be in the inbox index, but it can now be removed from the inbox page.
    
    
    Credits
    -------
    Rizki Wicaksono (www.ilmuhacking.com) found this vulnerability. The Indonesian article at http://www.ilmuhacking.com/web-security/xss-attack-using-sms-huawei-e960-hsdpa-router/ gives more detail about this vulnerability. This English translation/summary was done by Yohanes Nugroho.
    
    
    
    

    --- End Message ---
    --- Begin Message ---
    Digital Security Research Group [DSecRG] Advisory       #DSECRG-09-009
    ------------------link to original advisory --------------------------
    http://www.dsecrg.com/pages/vul/show.php?id=82
    
    
    Application:                    APC PowerChute Network Shutdown's Web Interface
    Vendor URL:                     http://www.apc.com/
    Bug:                            XSS/Response Splitting
    Exploits:                       YES
    Reported:                       20.10.2008
    Vendor Response:                20.10.2008
    Vendor Reference:               081020-000796
    Solution:                       Use Firewall
    Date of Public Advisory:        26.02.2009
    Author:                         Digital Security Research Group [DSecRG] (research [at] dsec [dot] ru)
    
    
    
    Description
    ***********
    
    Linked XSS and Response Splitting vulnerabilities found in APC PowerChute Network Shutdown's Web Interface.
    
    
    Details
    *******
    
    1. Linked XSS Vulnerability  found in  script /security/applet vulnerable parameter - "referrer"
    
    
    Example
    *******
    
    GET /security/applet?referrer=>"'><img/src="javascript:alert('DSECRG_XSS')"> 
    
    
    2. Response Splitting Vulnerability found in script contexthelp. vulnerable parameter - "page"
    
    
    Example
    *******
    
    GET /contexthelp?page=Foobar?%0d%0aDSECRG_HEADER:testvalue HTTP/1.0
    
    response:
    
    HTTP/1.0 302 Moved temporarily
    Content-Length: 0
    Date: Чт, 25 сен 2008 10:47:42 GMT
    Server: Acme.Serve/v1.7 of 13nov96
    Connection: close
    Expires: 0
    Cache-Control: no-cache
    Content-type: text/html
    Location: help/english/Foobar?
    DSECRG_HEADER:testvalue
    Content-type: text/html
    
    
    
    Solution
    ********
    
    http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=9539
    
    
    A low-risk web interface vulnerability has been discovered in the PowerChute Business Edition  Shutdown Agent.
    This issue is scheduled to be addressed in a release of the application.
    While the severity of this vulnerability has been determined to be minimal,
    it is recommended that user's continue to ensure the highest level of protection possible through the placement of PowerChute Business Edition behind a firewall.
    
    
    References
    **********
    
    http://nam-en.apc.com/cgi-bin/nam_en.cfg/php/enduser/std_adp.php?p_faqid=9539
    
    
    About
    *****
    
    Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards.
    Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.
    
    
    Contact:    research [at] dsecrg [dot] com
                http://www.dsecrg.com
    
    
    
    
    
    

    --- End Message ---

    Vissza a www.andrews.hu-ra