CVE-2023-7221 Totolink T6 HTTP POST Request main buffer overflow

Critical 9.8 Published Updated

Remote attackers can trigger a buffer overflow in the login handler of Totolink T6 routers, potentially leading to code execution or service disruption.

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-2023-7221?

CVE-2023-7221 is a critical memory corruption vulnerability in Totolink T6, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in Totolink T6 4.1.9cu.5241_B20210923. It has been classified as critical. This affects the function main of the file /cgi-bin/cstecgi.cgi?action=login of the component HTTP POST Request Handler. The manipulation of the argument v41 leads to 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-249855. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-120

Which versions are affected by CVE-2023-7221?

It affects 1 product.

Products include Totolink T6 Firmware.

How do I fix CVE-2023-7221?

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

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

Sources

Also known as GHSA-c653-w7m8-34r2.

Is CVE-2023-7221 in your software?

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

Check your SBOMs for free