CVE-2024-8231 Tenda O6 setPortForward fromVirtualSet stack-based overflow

High 8.7 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the Tenda O6 router's port forwarding function, potentially leading to code execution or service disruption.

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

CVE-2024-8231 is a high-severity memory corruption vulnerability in Tenda O6, published on 28 Aug 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 O6 1.0.0.7(2054). Affected is the function fromVirtualSet of the file /goform/setPortForward. The manipulation of the argument ip/localPort/publicPort/app 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. 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-8231?

It affects 1 product.

Products include Tenda O6 Firmware.

How do I fix CVE-2024-8231?

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

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

Sources

Also known as GHSA-mj66-pjg9-59mj.

Is CVE-2024-8231 in your software?

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

Check your SBOMs for free