CVE-2021-27246 Memory corruption in AC1750
Network-adjacent attackers can execute arbitrary code as root on TP-Link Archer A7 routers via a stack-based buffer overflow in the tdpServer endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-27246?
CVE-2021-27246 is a high-severity memory corruption vulnerability in TP-Link AC1750, published on 14 Apr 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
This vulnerability allows network-adjacent attackers to execute arbitrary code on affected installations of TP-Link Archer A7 AC1750 1.0.15 routers. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of MAC addresses by the tdpServer endpoint. A crafted TCP message can write stack pointers to the stack. An attacker can leverage this vulnerability to execute code in the context of the root user. Was ZDI-CAN-12306.
Weakness: CWE-121
Which versions are affected by CVE-2021-27246?
It affects 1 product.
Products include Tp-Link Ac1750 Firmware.
How do I fix CVE-2021-27246?
No fix has been published for CVE-2021-27246 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2021-27246 being exploited?
There is no known exploitation of CVE-2021-27246 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in TP-Link AC1750
Sources
Also known as GHSA-5q6x-hwjj-x4pq.