Vulnerability Note VU#305448
D-Link DIR-850L web admin interface contains a stack-based buffer overflow vulnerability
D-Link DIR-850L, firmware versions 1.14B07, 2.07.B05, and possibly others, contains a stack-based buffer overflow vulnerability in the web administration interface HNAP service. Other models may also be affected.
CWE-121: Stack-based Buffer Overflow - CVE-2017-3193
D-Link DIR-850L, firmware versions 1.14B07, 2.07.B05, and possibly others, contains a stack-based buffer overflow vulnerability in the web administration interface HNAP service. An unauthenticated attacker may send a specially crafted POST request to http://<router-ip>/HNAP1/ with modified HNAP_AUTH and SOAPAction headers to overflow the buffer and execute arbitrary code as root. By default, remote administration is disabled, which limits web interface access to LAN-connected hosts. Other models and firmware versions may also be affected.
A remote, unauthenticated attacker can make a specially crafted POST request to gain arbitrary code execution as root.
The CERT/CC is currently unaware of a practical solution to this problem. The vendor has publicly disclosed the issue along with beta firmware releases (versions 1.14B07 h2ab BETA1 and 2.07B05 h1ke BETA1, depending on the device's hardware revision), which are available from the product information page, but it is unclear whether the beta releases should be considered a proper solution. Users who do not wish to apply a beta firmware update should consider the following workaround:
Vendor Information (Learn More)
|Vendor||Status||Date Notified||Date Updated|
|D-Link Systems, Inc.||Affected||18 Jan 2017||08 Mar 2017|
CVSS Metrics (Learn More)
Thanks to Sergi Martinez (@zlowram_) of NCC Group for reporting this vulnerability.
This document was written by Joel Land.
- CVE IDs: CVE-2017-3193
- Date Public: 08 Mar 2017
- Date First Published: 08 Mar 2017
- Date Last Updated: 08 Mar 2017
- Document Revision: 12
If you have feedback, comments, or additional information about this vulnerability, please send us email.