CVE-2023-6612 Totolink X5000R cstecgi.cgi setWizardCfg os command injection

Medium 5.5 Published Updated

An attacker can execute arbitrary OS commands on Totolink X5000R routers via the cstecgi.cgi interface, potentially compromising the device.

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

What is CVE-2023-6612?

CVE-2023-6612 is a medium-severity command injection vulnerability in Totolink X5000r Firmware, published on 8 Dec 2023. 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 X5000R 9.1.0cu.2300_B20230112. It has been rated as critical. This issue affects the function setDdnsCfg/setDynamicRoute/setFirewallType/setIPSecCfg/setIpPortFilterRules/setLancfg/setLoginPasswordCfg/setMacFilterRules/setMtknatCfg/setNetworkConfig/setPortForwardRules/setRemoteCfg/setSSServer/setScheduleCfg/setSmartQosCfg/setStaticDhcpRules/setStaticRoute/setVpnAccountCfg/setVpnPassCfg/setVpnUser/setWiFiAclAddConfig/setWiFiEasyGuestCfg/setWiFiGuestCfg/setWiFiRepeaterConfig/setWiFiScheduleCfg/setWizardCfg of the file /cgi-bin/cstecgi.cgi. The manipulation leads to os command injection. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-247247. 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-2023-6612?

It affects 1 product.

Products include Totolink X5000r Firmware.

How do I fix CVE-2023-6612?

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

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

All Totolink X5000r Firmware vulnerabilities

Sources

Also known as GHSA-5vwh-r25c-w3q7.

Is CVE-2023-6612 in your software?

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

Check your SBOMs for free