CVE-2024-4165 Tenda G3 modifyDhcpRule stack-based overflow

High 8.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda G3 router's DHCP rule modification function, potentially leading to arbitrary 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-4165?

CVE-2024-4165 is a high-severity memory corruption vulnerability in Tenda G3, 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, which was classified as critical, was found in Tenda G3 15.11.0.17(9502). Affected is the function modifyDhcpRule of the file /goform/modifyDhcpRule. The manipulation of the argument bindDhcpIndex leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-261984. 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-4165?

It affects 1 product.

Products include Tenda G3 Firmware.

How do I fix CVE-2024-4165?

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

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

Sources

Also known as GHSA-rc96-q2xm-fg7c.

Is CVE-2024-4165 in your software?

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

Check your SBOMs for free