CVE-2024-0295 Totolink LR1200GB cstecgi.cgi setWanCfg os command injection

High 7.3 Published Updated

Remote attackers can execute arbitrary OS commands via the hostName parameter in the setWanCfg function of Totolink LR1200GB 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-0295?

CVE-2024-0295 is a high-severity command injection vulnerability in Totolink LR1200GB, 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, which was classified as critical, was found in Totolink LR1200GB 9.1.0u.6619_B20230130. This affects the function setWanCfg of the file /cgi-bin/cstecgi.cgi. The manipulation of the argument hostName leads to os command injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-249861 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-0295?

It affects 1 product.

Products include Totolink Lr1200gb Firmware.

How do I fix CVE-2024-0295?

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

There is no known exploitation of CVE-2024-0295 in the wild and no public exploit code.

Sources

Also known as GHSA-v3g2-rmmh-vvg3.

Is CVE-2024-0295 in your software?

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

Check your SBOMs for free