CVE-2024-0542 Tenda W9 httpd formWifiMacFilterGet stack-based overflow

High 8.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda W9 router's httpd service to execute arbitrary code.

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-0542?

CVE-2024-0542 is a high-severity memory corruption vulnerability in Tenda W9, published on 15 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in Tenda W9 1.0.0.7(4456). It has been rated as critical. Affected by this issue is the function formWifiMacFilterGet of the component httpd. The manipulation of the argument index leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-250712. 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-0542?

It affects 1 product.

Products include Tenda W9 Firmware.

How do I fix CVE-2024-0542?

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

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

Sources

Also known as GHSA-wgcv-697r-4jj4.

Is CVE-2024-0542 in your software?

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

Check your SBOMs for free