CVE-2024-0299 Totolink N200RE cstecgi.cgi setTracerouteCfg os command injection

High 7.3 Published Updated

Remote attackers can execute arbitrary OS commands via the setTracerouteCfg function in Totolink N200RE 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-0299?

CVE-2024-0299 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 declared as critical. Affected by this vulnerability is the function setTracerouteCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument command leads to os command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-249865 was assigned to this vulnerability. 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-0299?

It affects 1 product.

Products include Totolink N200re Firmware.

How do I fix CVE-2024-0299?

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

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

Sources

Also known as GHSA-h52q-mc3p-44c8.

Is CVE-2024-0299 in your software?

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

Check your SBOMs for free