CVE-2024-42740: TOTOLINK X5000r · OS Command Injection
Source CVE Database V5
Not known to be exploited · CVSS 6.8 Medium.
Data as of 26 Oct 2026, 17:16 UTC
- EPSS
- 2.7% chance of exploitation in 30 days – higher than 86% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
To mitigate CVE-2024-42740, organizations should first verify if they are using the affected TOTOLINK X5000r firmware version 9.1.0cu.2350_b20230313. Until an official patch is released, administrators should restrict access to the router’s management interfaces to trusted networks and users only, employing network segmentation and firewall rules to limit exposure. Strong authentication mechanisms, such as multi-factor authentication, should be enforced to reduce the risk of credential compromise. Monitoring and logging of administrative access and unusual command execution attempts on the device should be implemented to detect exploitation attempts early. If possible, disable or restrict the vulnerable CGI endpoint or the setLedCfg functionality until a patch is available. Regularly check for firmware updates from TOTOLINK and apply them promptly once released. Additionally, consider replacing affected devices with models from vendors with more robust security track records if patching is delayed.
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.