CVE-2024-1781 Totolink X6000R AX3000 shttpd cstecgi.cgi setWizardCfg command injection

Medium 6.3 Published Updated

Attackers can execute arbitrary commands on Totolink X6000R routers via the setWizardCfg function in cstecgi.cgi.

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

What is CVE-2024-1781?

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

Official description

A vulnerability was found in Totolink X6000R AX3000 9.4.0cu.852_20230719. It has been rated as critical. This issue affects the function setWizardCfg of the file /cgi-bin/cstecgi.cgi of the component shttpd. The manipulation leads to command injection. The exploit has been disclosed to the public and may be used. The identifier VDB-254573 was assigned to this vulnerability. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

Weakness: CWE-77

Which versions are affected by CVE-2024-1781?

It affects 1 product.

Products include Totolink X6000r Firmware.

How do I fix CVE-2024-1781?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Totolink X6000r Firmware vulnerabilities

Sources

Also known as GHSA-9pr5-r4v8-xqjf.

Is CVE-2024-1781 in your software?

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

Check your SBOMs for free