PT-2021-6151 · Tp Link · Tp-Link Tl-Wr940N
Vadym Kolisnichenko
·
Published
2021-10-21
·
Updated
2023-04-05
·
CVE-2022-24973
CVSS v3.1
8.0
High
| Vector | AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
TP-Link TL-WR940N version 3.20.1 Build 200316 Rel.34392n (5553)
Description
This issue allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N routers. Authentication is required to exploit this issue. The specific flaw exists within the httpd service, which listens on TCP port 80 by default. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this issue to execute code in the context of root.
Recommendations
For TP-Link TL-WR940N version 3.20.1 Build 200316 Rel.34392n (5553), as a temporary workaround, consider disabling the httpd service until a patch is available. Restrict access to the httpd service to minimize the risk of exploitation. Avoid using the vulnerable httpd service until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this issue.
Fix
Buffer Overflow
Stack Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Tp-Link Tl-Wr940N