Stack-based buffer overflow in DIR-850L - CVE-2017-3193
Published: March 9, 2017
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
Vulnerability was reported in DIR-850L, firmware versions 1.14B07, 2.07.B05. Other versions may also be affected.