CVE-2024-54887

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.
Configurations

Configuration 1 (hide)

AND
cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*
OR cpe:2.3:h:tp-link:tl-wr940n:v3:*:*:*:*:*:*:*
cpe:2.3:h:tp-link:tl-wr940n:v4:*:*:*:*:*:*:*

History

20 Jun 2025, 18:35

Type Values Removed Values Added
First Time Tp-link tl-wr940n Firmware
Tp-link tl-wr940n
Tp-link
CPE cpe:2.3:h:tp-link:tl-wr940n:v3:*:*:*:*:*:*:*
cpe:2.3:o:tp-link:tl-wr940n_firmware:*:*:*:*:*:*:*:*
cpe:2.3:h:tp-link:tl-wr940n:v4:*:*:*:*:*:*:*
References () http://tp-link.com - () http://tp-link.com - Product
References () https://github.com/JBince/vulnerability-research/tree/main/CVE-2024-54887 - () https://github.com/JBince/vulnerability-research/tree/main/CVE-2024-54887 - Third Party Advisory

15 Jan 2025, 21:15

Type Values Removed Values Added
Summary
  • (es) Los dispositivos TP-Link TL-WR940N V3 y V4 con firmware 3.16.9 y versiones anteriores presentan un desbordamiento de búfer a través de los parámetros dnsserver1 y dnsserver2 en /userRpm/Wan6to4TunnelCfgRpm.htm. Esta vulnerabilidad permite que un atacante autenticado ejecute código arbitrario en el dispositivo remoto en el contexto del usuario raíz.
CWE CWE-120
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.0

09 Jan 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-01-09 20:15

Updated : 2025-06-20 18:35


NVD link : CVE-2024-54887

Mitre link : CVE-2024-54887

CVE.ORG link : CVE-2024-54887


JSON object : View

Products Affected

tp-link

  • tl-wr940n_firmware
  • tl-wr940n
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')