CVE-2024-4166 Tenda 4G300 sub_41E858 stack-based overflow

High 8.8 Published Updated

A remote attacker can trigger a stack-based buffer overflow in the Tenda 4G300 router via the GO/page argument, 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-4166?

CVE-2024-4166 is a high-severity memory corruption vulnerability in Tenda 4G300, published on 25 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in Tenda 4G300 1.01.42 and classified as critical. Affected by this vulnerability is the function sub_41E858. The manipulation of the argument GO/page leads to stack-based buffer overflow. The attack can be launched remotely. The identifier VDB-261985 was 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-4166?

It affects 1 product.

Products include Tenda 4g300 Firmware.

How do I fix CVE-2024-4166?

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

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

Sources

Also known as GHSA-46v6-hq2c-4h25.

Is CVE-2024-4166 in your software?

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

Check your SBOMs for free