Cyber Posture

CVE-2024-57020

HighPublic PoCRCE

Published: 15 January 2025

Published
15 January 2025
Modified
18 March 2025
KEV Added
Patch
CVSS Score 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0252 85.5th percentile
Risk Priority 19 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-57020 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 14.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Threat & Defense at a Glance

What attackers do: exploitation maps to Exploit Public-Facing Application (T1190) and 1 other technique. What defenders deploy: see the NIST 800-53 controls recommended below.
Threat & Defense Details

Mitigating Controls (NIST 800-53 r5)AI

prevent

Directly mitigates the OS command injection by requiring validation of the unsanitized sMinute parameter in setWiFiScheduleCfg.

prevent

Ensures timely firmware updates to remediate the specific flaw allowing arbitrary command execution on the TOTOLINK X5000R.

prevent

Restricts the sMinute parameter to valid inputs like numeric values 0-59, blocking malformed payloads used for command injection.

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.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

OS command injection in router web management interface directly enables remote exploitation of public-facing apps and arbitrary Unix shell command execution.

Confidence: HIGH · MITRE ATT&CK Enterprise v18.1

NVD Description

TOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain an OS command injection vulnerability via the "sMinute" parameter in setWiFiScheduleCfg.

Deeper analysisAI

CVE-2024-57020 is an OS command injection vulnerability (CWE-78) affecting the TOTOLINK X5000R router running firmware version V9.1.0cu.2350_B20230313. The flaw exists in the setWiFiScheduleCfg function, where the "sMinute" parameter fails to properly sanitize user input, allowing arbitrary command execution on the underlying operating system. This issue carries a CVSS v3.1 base score of 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to its network accessibility and potential for significant impact.

A remote attacker with low privileges, such as an authenticated user on the network, can exploit this vulnerability by sending a crafted request to the vulnerable endpoint. No user interaction is required, and the low attack complexity enables straightforward exploitation over the network. Successful exploitation grants the attacker high-level impacts on confidentiality, integrity, and availability, potentially allowing full compromise of the device, including execution of arbitrary commands, data exfiltration, or further lateral movement within the network.

Details on the vulnerability, including proof-of-concept exploitation steps, are documented in a GitHub repository at https://github.com/tiger5671/Vulnerabilities/blob/main/TOTOLINK%20X5000R/setWiFiScheduleCfg/setWiFiScheduleCfg.md. The vendor's website at https://www.totolink.net/ serves as the primary source for official advisories, though no specific patch or mitigation details are outlined in available references at this time. Security practitioners should monitor for firmware updates and apply network segmentation to limit exposure.

Details

CWE(s)

Affected Products

totolink
x5000r firmware
9.1.0cu.2350_b20230313

CVEs Like This One

CVE-2024-57022Same product: Totolink X5000R
CVE-2024-57015Same product: Totolink X5000R
CVE-2024-57011Same product: Totolink X5000R
CVE-2024-57021Same product: Totolink X5000R
CVE-2024-57014Same product: Totolink X5000R
CVE-2024-57018Same product: Totolink X5000R
CVE-2024-57012Same product: Totolink X5000R
CVE-2024-57013Same product: Totolink X5000R
CVE-2024-57016Same product: Totolink X5000R
CVE-2024-57019Same product: Totolink X5000R

References