CVE-2024-42740 Command injection in n/a

Medium 6.8 Published Updated

Authenticated attackers can execute arbitrary OS commands on TOTOLINK X5000r routers via the setLedCfg function.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-42740?

CVE-2024-42740 is a medium-severity command injection vulnerability in Totolink X5000r Firmware, published on 13 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In TOTOLINK X5000r v9.1.0cu.2350_b20230313, the file /cgi-bin/cstecgi.cgi contains an OS command injection vulnerability in setLedCfg. Authenticated Attackers can send malicious packet to execute arbitrary commands.

Weakness: CWE-78

Which versions are affected by CVE-2024-42740?

It affects 1 product.

Products include Totolink X5000r Firmware.

How do I fix CVE-2024-42740?

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

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

All Totolink X5000r Firmware vulnerabilities

Sources

Also known as GHSA-jcvv-37v4-9r3f.

Is CVE-2024-42740 in your software?

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

Check your SBOMs for free