CVE-2021-46394 Memory corruption in n/a

Critical 9.8 Published Updated

A stack buffer overflow in the Tenda AX3 router allows remote attackers to execute arbitrary code via a crafted HTTP request.

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-2021-46394?

CVE-2021-46394 is a critical memory corruption vulnerability in Tenda Ax3 Firmware, published on 4 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

There is a stack buffer overflow vulnerability in the formSetPPTPServer function of Tenda-AX3 router V16.03.12.10_CN. The v13 variable is directly retrieved from the http request parameter startIp. Then v13 will be splice to stack by function sscanf without any security check, which causes stack overflow. By POSTing the page /goform/SetPptpServerCfg with proper startIp, the attacker can easily perform remote code execution with carefully crafted overflow data.

Weakness: CWE-787

Which versions are affected by CVE-2021-46394?

It affects 1 product.

Products include Tenda Ax3 Firmware.

How do I fix CVE-2021-46394?

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

There is no known exploitation of CVE-2021-46394 in the wild and no public exploit code.

All Tenda Ax3 Firmware vulnerabilities

Sources

Also known as GHSA-qgw7-h965-2gp6.

Is CVE-2021-46394 in your software?

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

Check your SBOMs for free