Cyber Posture

CVE-2025-1829

MediumPublic PoC

Published: 02 March 2025

Published
02 March 2025
Modified
03 April 2025
KEV Added
Patch
CVSS Score 6.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
EPSS Score 0.0082 74.5th percentile
Risk Priority 13 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may abuse Unix shell commands and scripts for execution.

Security Summary

CVE-2025-1829 is a critical OS command injection vulnerability in the TOTOLINK X18 router running firmware version 9.1.0cu.2024_B20220329. The issue resides in the setMtknatCfg function within the /cgi-bin/cstecgi.cgi script, where manipulation of the mtkhnatEnable argument enables attackers to inject and execute arbitrary operating system commands. It is classified under CWE-77 and CWE-78, with a CVSS v3.1 base score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L), and was published on 2025-03-02.

The vulnerability can be exploited remotely by attackers who possess low privileges (PR:L), requiring network access with low attack complexity and no user interaction. Successful exploitation allows limited impacts on confidentiality, integrity, and availability, potentially enabling command execution on the device to disrupt services, modify configurations, or exfiltrate minor data.

References including VulDB entries and a GitHub repository disclose the exploit publicly, noting it may be actively used, while the vendor TOTOLINK was contacted early but provided no response or patches as of the latest information. No official mitigations or firmware updates are detailed in the available advisories.

Details

CWE(s)
CWE-77CWE-78

Affected Products

totolink
x18 firmware
9.1.0cu.2024_b20220329

MITRE ATT&CK Enterprise Techniques

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?

Remote OS command injection vulnerability in public-facing CGI script (/cgi-bin/cstecgi.cgi) enables exploitation of public-facing applications (T1190) and direct execution of arbitrary Unix shell commands via unsanitized 'mtkhnatEnable' parameter passed to dosystem() (T1059.004).

References