CVE-2024-6402 Tenda A301 SetOnlineDevName fromSetWirelessRepeat stack-based overflow

High 7.1 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda A301 router via the SetOnlineDevName function, potentially leading to code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-6402?

CVE-2024-6402 is a high-severity memory corruption vulnerability in Tenda A301, published on 28 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical was found in Tenda A301 15.13.08.12. Affected by this vulnerability is the function fromSetWirelessRepeat of the file /goform/SetOnlineDevName. The manipulation of the argument devName leads to stack-based buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-269947. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-787, CWE-121

Which versions are affected by CVE-2024-6402?

It affects 1 product.

Products include Tendacn A301 Firmware.

How do I fix CVE-2024-6402?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-6402 exists.

Sources

Also known as GHSA-336q-x7w8-cw7q.

Is CVE-2024-6402 in your software?

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

Check your SBOMs for free