search menu icon-carat-right cmu-wordmark

CERT Coordination Center

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. 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
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.8,de-de;q=0.5,de;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: text/plain
Content-Length: 225

<?xml version="1.0"
Sample Text</Content><Length>0</Length><Reserved>1</Reserved><Date>2013-12-03

The following device configuration was reported to be vulnerable. Other versions may be affected:
Software version:
Hardware version: CH2E303SM
Web UI version:


A malicious site could send SMS messages on behalf of the device, possibly incurring SMS charges.


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.

Vendor Information


Huawei Technologies Affected

Notified:  March 10, 2014 Updated: May 09, 2014



Vendor Statement

We have not received a statement from the vendor.

Vendor Information

We are not aware of further vendor information regarding this vulnerability.

CVSS Metrics

Group Score Vector
Base 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N
Temporal 3.9 E:POC/RL:U/RC:C
Environmental 1.1 CDP:L/TD:L/CR:ND/IR:ND/AR:ND



Thanks to Benjamin Daniel Mussler for reporting this vulnerability.

This document was written by Todd Lewellen.

Other Information

CVE IDs: CVE-2014-2946
Date Public: 2014-05-30
Date First Published: 2014-05-30
Date Last Updated: 2014-06-05 21:16 UTC
Document Revision: 11

Sponsored by CISA.