CVE-2024-2487 Tenda AC18 SetOnlineDevName formSetDeviceName stack-based overflow

High 8.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda AC18 router via the SetOnlineDevName endpoint, potentially leading to code execution or denial of service.

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

CVE-2024-2487 is a high-severity memory corruption vulnerability in Tenda Ac18 Firmware, published on 15 Mar 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 AC18 15.03.05.05. It has been declared as critical. This vulnerability affects the function formSetDeviceName of the file /goform/SetOnlineDevName. The manipulation of the argument devName/mac leads to stack-based buffer overflow. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. VDB-256894 is the identifier assigned to this vulnerability. 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-2487?

It affects 1 product.

Products include Tenda Ac18 Firmware.

How do I fix CVE-2024-2487?

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

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

All Tenda Ac18 Firmware vulnerabilities

Sources

Also known as GHSA-qgf6-wc2f-vhf3.

Is CVE-2024-2487 in your software?

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

Check your SBOMs for free