CVE-2024-42987 Memory corruption in n/a

High 7.5 Published Updated

A remote attacker can cause denial of service or potentially execute code via a stack-based buffer overflow in the Tenda FH1206 router.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-42987?

CVE-2024-42987 is a high-severity memory corruption vulnerability in n/a, published on 15 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Tenda FH1206 v02.03.01.35 was discovered to contain a stack-based buffer overflow vulnerability in the fromPptpUserAdd function. The vulnerability can be triggered via the modino, username, newpwd, or pptpdnetseg parameters, all of which are passed via HTTP POST and used in unsafe sprintf calls without proper length validation. A remote attacker can exploit this flaw through a crafted POST request, which may cause a Denial of Service (DoS). In certain scenarios, this issue could potentially be leveraged to achieve remote code execution.

Weakness: CWE-787

Which versions are affected by CVE-2024-42987?

It affects 1 product.

Products include Tenda Fh1206 Firmware.

How do I fix CVE-2024-42987?

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

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

Sources

Also known as GHSA-3p4h-pcqj-f7fx.

Is CVE-2024-42987 in your software?

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

Check your SBOMs for free