CVE-2024-0541 Tenda W9 httpd formAddSysLogRule 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-0541?

CVE-2024-0541 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 declared as critical. Affected by this vulnerability is the function formAddSysLogRule of the component httpd. The manipulation of the argument sysRulenEn 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-250711. 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-0541?

It affects 1 product.

Products include Tenda W9 Firmware.

How do I fix CVE-2024-0541?

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

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

Sources

Also known as GHSA-cmp3-jfp5-m6fq.

Is CVE-2024-0541 in your software?

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

Check your SBOMs for free