Cross-site Scripting Vulnerability in TP-Link Archer A20 Router
CVE-2024-57514
Key facts: CVE-2024-57514 is a medium severity (CVSS 4.8) vulnerability in TP-Link Archer A20 Router. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.1%, the estimated probability of exploitation in the next 30 days.
What is CVE-2024-57514?
CVE-2024-57514 is a cross-site scripting (XSS) vulnerability found in the TP-Link Archer A20 v3 router, which is designed to provide networking capabilities in both home and small office environments. This vulnerability arises from improper handling of directory listing paths in the router's web interface. When an attacker crafts a specific URL and a user unknowingly visits it, the router's web page can execute arbitrary JavaScript, potentially allowing attackers to execute malicious code in the browser of the victim. This not only compromises the individual device but may also expose connected networks to further attacks.
Technical Details
The vulnerability is characterized by the router's failure to properly sanitize directory listing paths within its web interface. When a user accesses a maliciously crafted URL, the router's webpage processes the embedded JavaScript, leading to arbitrary code execution within the user's browser context. This flaw is present in version 1.0.6 Build 20231011 rel.85717(5553) of the TP-Link Archer A20 router.
Potential Impact of CVE-2024-57514
-
Unauthorized Code Execution: The vulnerability allows attackers to execute arbitrary JavaScript in the context of the victim’s browser, enabling them to perform actions such as session hijacking, data theft, or the execution of further malicious operations.
-
Increased Risk of Network Compromise: Due to the router's central role in network communications, exploiting this vulnerability can lead to a compromised network environment, allowing attackers to access other devices connected to the same router.
-
Potential for Phishing Attacks: By executing malicious scripts, attackers could potentially redirect users to phishing sites or manipulate web pages to capture sensitive information, thereby increasing risks associated with identity theft and financial fraud.
References
More TP-Link vulnerabilities
- CVE-2025-40634: Stack-based Buffer Overflow in TP-Link Archer AX50 Router(CRITICAL)
- CVE-2024-57040: Hardcoded Password Vulnerability in TP-Link Router(CRITICAL)
- CVE-2024-57050: Authentication Bypass in TP-Link WR840N v6 Router(CRITICAL)
- CVE-2024-54887: Buffer Overflow in TP-Link Routers Allowing Code Execution(HIGH)
- CVE-2023-50224: TP-Link TL-WR841N dropbearpwd Improper Authentication Information Disclosure Vulnerability(MEDIUM)
- CVE-2023-27359: TP-Link AX1800 hotplugd Firewall Rule Race Condition Vulnerability(HIGH)
- CVE-2024-21833: Command Injection Vulnerability in TP-LINK Networking Devices(HIGH)
- CVE-2023-33538: Command Injection Vulnerability in TP-Link Routers(HIGH)