Cyber Resilience

CVE-2024-42748

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.0647 91.3th percentile
Risk Priority 21 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-42748 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 Network Device CLI (T1059.008); ranked in the top 8.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-42748 is an OS command injection vulnerability in the TOTOLINK X5000r router running firmware version 9.1.0cu.2350_b20230313. The flaw exists in the setWiFiWpsCfg function of /cgi-bin/cstecgi.cgi and is tracked as CWE-78, allowing improper neutralization of special elements used in an OS command.

Authenticated attackers with network access can send crafted packets to the CGI endpoint and execute arbitrary system commands on the device. The vulnerability carries a CVSS 3.1 score of 8.8, indicating high impact to confidentiality, integrity, and availability without requiring user interaction.

The single reference is a technical report containing proof-of-concept details but provides no information on vendor patches or mitigation steps. The associated EPSS score has remained flat at 0.0647 with no material rise since 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 setWiFiWpsCfg. Authenticated Attackers can send malicious packet to execute arbitrary commands.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

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.
T1068 Exploitation for Privilege Escalation Privilege Escalation
Adversaries may exploit software vulnerabilities in an attempt to elevate privileges.
Why these techniques?

The OS command injection vulnerability in the router's web CGI interface (setWiFiWpsCfg) enables authenticated attackers to execute arbitrary OS commands, mapping to Network Device CLI execution (T1059.008) and exploitation for privilege escalation (T1068).

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