ID

VAR-202501-0795


CVE

CVE-2024-54887


TITLE

TP-LINK TL-WR940N Buffer Overflow Vulnerability (CNVD-2025-02852)

Trust: 0.6

sources: CNVD: CNVD-2025-02852

DESCRIPTION

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. TP-LINK TL-WR940N is a wireless router from TP-LINK of China. TP-LINK TL-WR940N has a buffer overflow vulnerability, which is caused by the boundary error of dnsserver1 and dnsserver2 parameters in /userRpm/Wan6to4TunnelCfgRpm.htm when processing untrusted input

Trust: 1.44

sources: NVD: CVE-2024-54887 // CNVD: CNVD-2025-02852

IOT TAXONOMY

category:['Network device']sub_category: -

Trust: 0.6

sources: CNVD: CNVD-2025-02852

AFFECTED PRODUCTS

vendor:tp linkmodel:tl-wr940nscope:lteversion:3.16.9

Trust: 1.0

vendor:tp linkmodel:tl-wr940nscope: - version: -

Trust: 0.6

sources: CNVD: CNVD-2025-02852 // NVD: CVE-2024-54887

CVSS

SEVERITY

CVSSV2

CVSSV3

134c704f-9b21-4f2e-91b3-4a467353bcc0: CVE-2024-54887
value: HIGH

Trust: 1.0

CNVD: CNVD-2025-02852
value: HIGH

Trust: 0.6

CNVD: CNVD-2025-02852
severity: HIGH
baseScore: 7.7
vectorString: AV:A/AC:L/AU:S/C:C/I:C/A:C
accessVector: ADJACENT_NETWORK
accessComplexity: LOW
authentication: SINGLE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 5.1
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

134c704f-9b21-4f2e-91b3-4a467353bcc0: CVE-2024-54887
baseSeverity: HIGH
baseScore: 8.0
vectorString: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
attackVector: ADJACENT
attackComplexity: LOW
privilegesRequired: LOW
userInteraction: NONE
scope: UNCHANGED
confidentialityImpact: HIGH
integrityImpact: HIGH
availabilityImpact: HIGH
exploitabilityScore: 2.1
impactScore: 5.9
version: 3.1

Trust: 1.0

sources: CNVD: CNVD-2025-02852 // NVD: CVE-2024-54887

PROBLEMTYPE DATA

problemtype:CWE-120

Trust: 1.0

sources: NVD: CVE-2024-54887

EXTERNAL IDS

db:NVDid:CVE-2024-54887

Trust: 1.6

db:CNVDid:CNVD-2025-02852

Trust: 0.6

sources: CNVD: CNVD-2025-02852 // NVD: CVE-2024-54887

REFERENCES

url:http://tp-link.com

Trust: 1.0

url:https://github.com/jbince/vulnerability-research/tree/main/cve-2024-54887

Trust: 1.0

url:https://nvd.nist.gov/vuln/detail/cve-2024-54887

Trust: 0.6

sources: CNVD: CNVD-2025-02852 // NVD: CVE-2024-54887

SOURCES

db:CNVDid:CNVD-2025-02852
db:NVDid:CVE-2024-54887

LAST UPDATE DATE

2025-06-21T23:39:01.074000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2025-02852date:2025-02-13T00:00:00
db:NVDid:CVE-2024-54887date:2025-06-20T18:35:16.170

SOURCES RELEASE DATE

db:CNVDid:CNVD-2025-02852date:2025-02-13T00:00:00
db:NVDid:CVE-2024-54887date:2025-01-09T20:15:39.277