CVE-2023-7220 Totolink NR1800X cstecgi.cgi loginAuth stack-based overflow

Critical 9.8 Published Updated

Remote attackers can trigger a stack-based buffer overflow in the login authentication handler to execute arbitrary code on the 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-2023-7220?

CVE-2023-7220 is a critical memory corruption vulnerability in Totolink NR1800X, 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 NR1800X 9.1.0u.6279_B20210910 and classified as critical. Affected by this issue is the function loginAuth of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument password leads to stack-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. VDB-249854 is the identifier assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-121

Which versions are affected by CVE-2023-7220?

It affects 1 product.

Products include Totolink Nr1800x Firmware.

How do I fix CVE-2023-7220?

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

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

Sources

Also known as GHSA-p9pw-8h32-73j5.

Is CVE-2023-7220 in your software?

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

Check your SBOMs for free