Vulnerability Note VU#325636

Huawei E303 contains a cross-site request forgery vulnerability

Original Release date: 30 May 2014 | Last revised: 05 Jun 2014


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 (Learn More)

VendorStatusDate NotifiedDate Updated
Huawei TechnologiesAffected10 Mar 201409 May 2014
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

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: 30 May 2014
  • Date First Published: 30 May 2014
  • Date Last Updated: 05 Jun 2014
  • Document Revision: 9


If you have feedback, comments, or additional information about this vulnerability, please send us email.