Cyber Resilience

CVE-2024-42742

HighPublic PoCRCE

Published: 12 August 2024

Published
12 August 2024
Modified
13 August 2024
KEV Added
Patch
CVSS Score v3.1 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0540 90.3th percentile
Risk Priority 21 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-42742 is a high-severity OS Command Injection (CWE-78) vulnerability in Totolink X5000R Firmware. Its CVSS base score is 8.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 9.7% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

CVE-2024-42742 is an OS command injection vulnerability (CWE-78) affecting the TOTOLINK X5000r router running firmware version 9.1.0cu.2350_b20230313. The flaw resides in the setUrlFilterRules function within /cgi-bin/cstecgi.cgi and carries a CVSS 3.1 score of 8.8.

Authenticated attackers with network access can send crafted packets to the CGI endpoint, resulting in arbitrary command execution on the device with full impact to confidentiality, integrity, and availability.

The sole reference is a technical report detailing the injection point; no vendor advisory, firmware patch, or mitigation guidance is provided in the available sources. The associated EPSS score has remained flat at 0.0540 with no observed rise after disclosure.

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1059.008 Network Device CLI Execution
Adversaries may abuse scripting or built-in command line interpreters (CLI) on network devices to execute malicious command and payloads.
Why these techniques?

OS command injection in web CGI endpoint (/cgi-bin/cstecgi.cgi?setUrlFilterRules) enables remote exploitation of public-facing application (T1190) and arbitrary OS command execution on network device akin to CLI abuse (T1059.008).

Affected Assets

totolink
x5000r firmware
9.1.0u.6369_b20230113

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-78

Platform-independent apps typically execute inside a managed runtime or sandbox that restricts direct OS command execution, reducing the ability to exploit OS command injection.

addresses: CWE-78

Validates inputs to block special elements that would alter OS command execution.

References