CVE-2024-34198 Memory corruption in n/a

Critical 9.8 Published Updated

Attackers can trigger a stack overflow via the wlan_ssid field in the formWlEncrypt CGI handler, enabling arbitrary command execution or denial of service on TOTOLINK AC1200 routers.

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

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

Official description

TOTOLINK AC1200 Wireless Router A3002RU V2.1.1-B20230720.1011 is vulnerable to Buffer Overflow. The formWlEncrypt CGI handler in the boa program fails to limit the length of the wlan_ssid field from user input. This allows attackers to craft malicious HTTP requests by supplying an excessively long value for the wlan_ssid field, leading to a stack overflow. This can be further exploited to execute arbitrary commands or launch denial-of-service attacks.

Weakness: CWE-120

Which versions are affected by CVE-2024-34198?

It affects 1 product.

Products include Totolink A3002ru Firmware.

How do I fix CVE-2024-34198?

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

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

Sources

Also known as GHSA-4j37-x4vf-9p6c.

Is CVE-2024-34198 in your software?

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

Check your SBOMs for free