Arbitrary Code Execution in TP-Link TL-WR940N Router Due to Buffer Overflow
CVE-2022-0650

6.8MEDIUM

Key Information:

Vendor
Tp-link
Status
Vendor
CVE Published:
28 March 2023

Summary

The TP-Link TL-WR940N router has a vulnerability that can be exploited by attackers on the same network, allowing them to execute arbitrary code. This flaw in the httpd service, which runs on TCP port 80, stems from inadequate validation of the length of user-supplied data before it is copied to a fixed-length buffer. By manipulating this weakness, an authenticated attacker can run code with root privileges, potentially compromising the entire device.

Affected Version(s)

TL-WR940N 3.20.1 Build 200316 Rel.34392n (5553)

References

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

CVSS V3.0

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Adjacent Network
Attack Complexity:
Low
Privileges Required:
High
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Vadym Kolisnichenko
.