OS command injection in DIR-645 - CVE-2015-2051

 

OS command injection in DIR-645 - CVE-2015-2051

Published: December 14, 2018


Vulnerability identifier: #VU16535
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2015-2051
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: D-Link
Affected software:
DIR-645

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The weakness exists due to OS command injection in the HNAP SOAP interface. A remote attacker can supply specially crafted input to inject and execute arbitrary shell commands via a GetDeviceSettings action to the HNAP interface.

Successful exploitation of the vulnerability may result in system compromise.

Note: the vulnerability is being exploited by various attachers to deliver several Mirai variants (e.g., Satori, JenX, etc.).

How to mitigate CVE-2015-2051

Refer to the vendor's advisory for workaround information.

Sources