Stack-based buffer overflow in DIR-850L - CVE-2017-3193

 

Stack-based buffer overflow in DIR-850L - CVE-2017-3193

Published: March 9, 2017


Vulnerability identifier: #VU5931
CSH Severity: High
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:P/U:Amber
CVE-ID: CVE-2017-3193
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: D-Link
Affected software:
DIR-850L

Detailed vulnerability description

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

The vulnerability exists due to a boundary error when processing requests within the web administration interface HNAP service. A remote attacker can send a specially crafted HTTP POST request to http://<router-ip>/HNAP1/ address with modified HNAP_AUTH and SOAPAction headers, trigger stack-based buffer overflow and execute arbitrary code on the target system with root privileges.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable device.



How to mitigate CVE-2017-3193

Cybersecurity Help is currently unaware of any official solution to address this vulnerability. As a temporary solution it is recommended to block access to management interface.

Vulnerability was reported in DIR-850L, firmware versions 1.14B07, 2.07.B05. Other versions may also be affected.

Sources