Huawei E303 contains a cross-site request forgery vulnerability
Vulnerability Note VU#325636
Original Release Date: 2014-05-30 | Last Revised: 2014-06-05
The built-in web interface of Huawei E303 devices contains a cross-site request forgery vulnerability.
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) The /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.