Vulnerability Note VU#101462

DrayTek Vigor 2700 ADSL router contains a command injection vulnerability

Original Release date: 22 Oct 2013 | Last revised: 22 Oct 2013

Overview

DrayTek Vigor 2700 ADSL router version 2.8.3 and possibly earlier versions contain a command injection vulnerability via malicious SSID (CWE-77).

Description

CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')

DrayTek Vigor 2700 ADSL router version 2.8.3 contains a command injection vulnerability. The Vigor router stores discovered SSIDs of surrounding access points into the sWlessSurvey variable inside variables.js, which is a list of multiple variables used by the web administration console. An attacker can utilize JavaScript code in the SSID value of a malicious nearby access point which will cause the DrayTek router to execute the command when it adds the SSID into the variables.js list.

Impact

An attacker within range of the DrayTek Vigor ADSL router can edit the SSID on their malicious access point to corrupt the variables.js file. This may cause the DrayTek router to call external scripts or make unauthorized changes to the settings, which may include poisoning the DNS cache.

The attacker may continue changing the SSID value of their rogue access point, causing JavaScript alert messages to be sent to the web console, thus preventing administration to the DrayTek router.

This attack requires the victim to manually scan for SSID values from the web administration page. Conversely, the device will automatically scan for any SSIDs in range when it is first powered on.

Solution

We are currently unaware of a practical solution to this problem.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
DrayTek CorporationAffected06 Sep 201310 Oct 2013
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

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

References

Credit

Thanks to Juraj Kosik for reporting this vulnerability.

This document was written by Adam Rauf.

Other Information

  • CVE IDs: CVE-2013-5703
  • Date Public: 22 Oct 2013
  • Date First Published: 22 Oct 2013
  • Date Last Updated: 22 Oct 2013
  • Document Revision: 25

Feedback

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