search menu icon-carat-right cmu-wordmark

CERT Coordination Center

DrayTek Vigor 2700 ADSL router contains a command injection vulnerability

Vulnerability Note VU#101462

Original Release Date: 2013-10-22 | Last Revised: 2013-10-22

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

101462
 

DrayTek Corporation Affected

Notified:  September 06, 2013 Updated: October 10, 2013

Status

Affected

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: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

Acknowledgements

Thanks to Juraj Kosik for reporting this vulnerability.

This document was written by Adam Rauf.

Other Information

CVE IDs: CVE-2013-5703
Date Public: 2013-10-22
Date First Published: 2013-10-22
Date Last Updated: 2013-10-22 13:28 UTC
Document Revision: 26

Sponsored by CISA.