CVE-2021-35004 Memory corruption in TL-WA1201

High 8.8 Published Updated

Remote attackers can execute arbitrary code as root on TP-Link wireless access points via a stack-based buffer overflow in DNS response handling without authentication.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-35004?

CVE-2021-35004 is a high-severity memory corruption vulnerability in TP-Link TL-WA1201, published on 21 Jan 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

This vulnerability allows remote attackers to execute arbitrary code on affected installations of TP-Link TL-WA1201 1.0.1 Build 20200709 rel.66244(5553) wireless access points. Authentication is not required to exploit this vulnerability. The specific flaw exists within the handling of DNS responses. A crafted DNS message can trigger an overflow of a fixed-length, stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-14656.

Weakness: CWE-121

Which versions are affected by CVE-2021-35004?

It affects 1 product.

Products include Tp-Link Tl-Wa1201 Firmware.

How do I fix CVE-2021-35004?

No fix has been published for CVE-2021-35004 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-35004 being exploited?

There is no known exploitation of CVE-2021-35004 in the wild and no public exploit code.

Sources

Also known as GHSA-cqp4-9vc9-xvcp.

Is CVE-2021-35004 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free