CVE-2023-7213 Totolink N350RT HTTP POST Request main stack-based overflow

Medium 6.3 Published Updated

A remote attacker can trigger a stack-based buffer overflow in the login handler of Totolink N350RT routers, potentially leading to code execution or denial of service.

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

CVE-2023-7213 is a medium-severity memory corruption vulnerability in Totolink N350RT, published on 7 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability classified as critical was found in Totolink N350RT 9.3.5u.6139_B20201216. Affected by this vulnerability is the function main of the file /cgi-bin/cstecgi.cgi?action=login&flag=1 of the component HTTP POST Request Handler. The manipulation of the argument v33 leads to stack-based buffer overflow. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-249769 was assigned to this vulnerability. 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-2023-7213?

It affects 1 product.

Products include Totolink N350rt Firmware.

How do I fix CVE-2023-7213?

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

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

Sources

Also known as GHSA-8c3q-7745-hrhp.

Is CVE-2023-7213 in your software?

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

Check your SBOMs for free