CVE-2024-0298 Totolink N200RE cstecgi.cgi setDiagnosisCfg os command injection

High 7.3 Published Updated

Remote attackers can execute arbitrary OS commands on Totolink N200RE routers via the setDiagnosisCfg function.

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

CVE-2024-0298 is a high-severity command injection vulnerability in Totolink N200RE, published on 8 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 N200RE 9.3.5u.6139_B20201216. It has been classified as critical. Affected is the function setDiagnosisCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument ip leads to os command injection. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-249864. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-78

Which versions are affected by CVE-2024-0298?

It affects 1 product.

Products include Totolink N200re Firmware.

How do I fix CVE-2024-0298?

No fix has been published for CVE-2024-0298 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2024-0298 being exploited?

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

Sources

Also known as GHSA-p2xj-99fc-824q.

Is CVE-2024-0298 in your software?

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

Check your SBOMs for free