CVE-2024-4112 Tenda TX9 SetVirtualServerCfg sub_42CB94 stack-based overflow

High 8.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda TX9 router's virtual server configuration handler, 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-4112?

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

Official description

A vulnerability classified as critical has been found in Tenda TX9 22.03.02.10. This affects the function sub_42CB94 of the file /goform/SetVirtualServerCfg. The manipulation of the argument list leads to stack-based buffer overflow. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-261855. 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-4112?

It affects 1 product.

Products include Tenda Tx9 Pro Firmware.

How do I fix CVE-2024-4112?

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

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

Sources

Also known as GHSA-hq97-78w2-f272.

Is CVE-2024-4112 in your software?

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

Check your SBOMs for free