CVE-2024-54887

HIGH CVSS 3.1: 8.0 EPSS 6.58%
Updated Jun 20, 2025
TP-Link
Parameter Value
CVSS 8.0 (HIGH)
Affected Versions before 3.16.9
Type CWE-120 (Buffer Copy without Checking Size)
Vendor TP-Link
Public PoC No

TP-Link TL-WR940N V3 and V4 with firmware 3.16.9 and earlier contain a buffer overflow via the dnsserver1 and dnsserver2 parameters at /userRpm/Wan6to4TunnelCfgRpm.htm. This vulnerability allows an authenticated attacker to execute arbitrary code on the remote device in the context of the root user.

Attack Parameters

Attack Vector
Adjacent
Requires local network access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Vulnerable Products 3

Configuration From (including) Up to (excluding)
Tp-Link Tl-Wr940n_Firmware
cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*
— <= 3.16.9
Tp-Link Tl-Wr940n
cpe:2.3:h:tp-link:tl-wr940n:v3:*:*:*:*:*:*:*
— —
Tp-Link Tl-Wr940n
cpe:2.3:h:tp-link:tl-wr940n:v4:*:*:*:*:*:*:*
— —