Buffer overflow in TP-Link Tl-Wr940n

CVE-2022-0650

This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553) routers. Authentication is required to exploit this vulnerability. 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 vulnerability to execute code in the context of root. Was ZDI-CAN-13993.

Vulnerability class: Buffer Overflow

EPSS: 0.007 (51.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2022-0650?
CVE-2022-0650 is a high-severity vulnerability in TP-Link Tl-Wr940n, classified under Stack-based Buffer Overflow. CVSS score: 8.0/10. Published 2023-03-28.
How severe is CVE-2022-0650?
High severity. CVSS v3 base score is 8.0 out of 10.