CVE-2019-17147: Getting Code Execution on a TP-Link TL-WR841N Wireless Router
Channel: Zero Day Initiative
Date: 2019-12-02

This exploit demonstration overview covers a remote code execution bug on a TP-Link TL-WR841N Wireless Router. The now-patched bug could allow an attacker to run code of their choice on affected versions of the router. 

The specific flaw exists within the web service, which listens on TCP port 80 by default. When parsing the Host request header, the process does not properly validate the length of user-supplied data prior to copying it to a fixed-length static buffer. An attacker can leverage this vulnerability to execute code in the context of the admin user.