{"vuid":"VU#325636","idnumber":"325636","name":"Huawei E303 contains a cross-site request forgery vulnerability","keywords":["Huawei","CSRF","CWE-352"],"overview":"The built-in web interface of Huawei E303 devices contains a cross-site request forgery vulnerability.","clean_desc":"Huawei E303 wireless broadband modems include a web interface for administration and additional services. The web interface allows users to send and receive SMS messages using the connected cellular network. CWE-352: Cross-Site Request Forgery (CSRF)\nThe /api/sms/send-sms URL is vulnerable to cross-site request forgery attacks. The vulnerability can be exploited when a user with adjacent network access to the device visits a malicious webpage. The malicious webpage can silently make requests to the device's SMS API (e.g. http://192.168.1.1/api/sms/send-sms) by leveraging the victim's network access to the device. Benjamin Daniel Mussler reports: The Web UI communicates with the vulnerable module by sending and receiving XML requests and responses via XmlHttpRequest, which provides protection against similar attacks. However, the vulnerable module can also be accessed and controlled by sending an HTTP-POST request with XML in the request's body. The vulnerable module will process this XML as if it had originated from the Web UI. [Proof -of-concept HTTP POST request] POST /api/sms/send-sms HTTP/1.1\nHost: hi.link\nUser-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0\nAccept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\nAccept-Language: en-us,en;q=0.8,de-de;q=0.5,de;q=0.3\nAccept-Encoding: gzip, deflate\nReferer: http://hi.link/\nConnection: keep-alive\nContent-Type: text/plain\nContent-Length: 225 <?xml version=\"1.0\" \nencoding=\"UTF-8\"?> <request> <Index> -1</Index><Phones><Phone>4422</Phone></Phones><Sca></Sca><Content>\nSample Text</Content><Length>0</Length><Reserved>1</Reserved><Date>2013-12-03 \n16:00:00</Date></request> The following device configuration was reported to be vulnerable. Other versions may be affected: Software version:  22.157.18.00.858\nHardware version:  CH2E303SM\nWeb UI version:  11.010.06.01.858","impact":"A malicious site could send SMS messages on behalf of the device, possibly incurring SMS charges.","resolution":"Huawei has stated they are currently working on a fix for this issue. In the meantime, CERT/CC is unaware of a practical solution to this problem.","workarounds":"","sysaffected":"","thanks":"Thanks to Benjamin Daniel Mussler for reporting this vulnerability.","author":"This document was written by Todd Lewellen.","public":["http://www.huawei.com","http://consumer.huawei.com/en/mobile-broadband/data-card/tech-specs/e303-en.htm","http://b.fl7.de/2014/05/huawei-e303-sms-vulnerability-CVE-2014-2946.html"],"cveids":["CVE-2014-2946"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2014-03-10T15:14:20Z","publicdate":"2014-05-30T00:00:00Z","datefirstpublished":"2014-05-30T12:33:47Z","dateupdated":"2014-06-05T21:16:58Z","revision":11,"vrda_d1_directreport":"1","vrda_d1_population":"3","vrda_d1_impact":"3","cam_widelyknown":"0","cam_exploitation":"0","cam_internetinfrastructure":"0","cam_population":"0","cam_impact":"0","cam_easeofexploitation":"0","cam_attackeraccessrequired":"0","cam_scorecurrent":"0","cam_scorecurrentwidelyknown":"0","cam_scorecurrentwidelyknownexploited":"0","ipprotocol":"","cvss_accessvector":"N","cvss_accesscomplexity":"M","cvss_authentication":null,"cvss_confidentialityimpact":"N","cvss_integrityimpact":"P","cvss_availabilityimpact":"N","cvss_exploitablity":null,"cvss_remediationlevel":"U","cvss_reportconfidence":"C","cvss_collateraldamagepotential":"L","cvss_targetdistribution":"L","cvss_securityrequirementscr":"ND","cvss_securityrequirementsir":"ND","cvss_securityrequirementsar":"ND","cvss_basescore":"4.3","cvss_basevector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","cvss_temporalscore":"3.9","cvss_environmentalscore":"1.1199659038","cvss_environmentalvector":"CDP:L/TD:L/CR:ND/IR:ND/AR:ND","metric":0.0,"vulnote":null}