Lucene search

K
certCERTVU:876780
HistoryDec 12, 2012 - 12:00 a.m.

D-Link DSL2730U router restricted telnet shell command whitelisting bypass

2012-12-1200:00:00
www.kb.cert.org
61

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

0.001 Low

EPSS

Percentile

32.5%

Overview

D-Link DSL2730U routers contain a restricted telnet shell with limited allowed commands. An authenticated attacker can chain unauthorized commands through authorized commands in order to bypass the command whitelisting.

Description

CWE-78: Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’):

D-Link DSL2730U routers contain a restricted telnet shell with limited allowed commands. Commands entered in the restricted telnet shell are executed by passing them as command parameters of execution “sh -c”, for example, “echo | ls” will result in passing a whitelisted command (echo) and executing “sh -c echo | ls” on the underlying Linux environment. The STDOUT output of the command execution is returned to the telnet terminal. An authenticated attacker can chain unauthorized commands through authorized commands in order to bypass the command whitelisting.


Impact

An authenticated attacker can chain unauthorized commands through authorized commands in order to bypass the command whitelisting.


Solution

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


Restrict Access

As a general good security practice, only allow connections from trusted hosts and networks. Restricting access would prevent an attacker from accessing an telnet interface using the affected credentials from a blocked network location.


Vendor Information

876780

Filter by status: All Affected Not Affected Unknown

Filter by content: __ Additional information available

__ Sort by: Status Alphabetical

Expand all

Javascript is disabled. Click here to view vendors.

D-Link Systems, Inc. Affected

Notified: November 01, 2012 Updated: December 03, 2012

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 6.8 AV:N/AC:L/Au:S/C:C/I:N/A:N
Temporal 5.2 E:POC/RL:W/RC:UC
Environmental 1.4 CDP:L/TD:L/CR:ND/IR:ND/AR:ND

References

<http://cwe.mitre.org/data/definitions/78.html&gt;

Acknowledgements

Thanks to Nikolay Dachev for reporting this vulnerability.

This document was written by Michael Orlando.

Other Information

CVE IDs: CVE-2012-5966
Date Public: 2012-12-12 Date First Published:

4 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:S/C:N/I:P/A:N

0.001 Low

EPSS

Percentile

32.5%

Related for VU:876780