Cyber Posture

CVE-2025-1340

High

Published: 16 February 2025

Published
16 February 2025
Modified
10 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.0112 78.3th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Description

Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.

Security Summary

CVE-2025-1340 is a critical stack-based buffer overflow vulnerability in the TOTOLINK X18 router firmware version 9.1.0cu.2024_B20220329. The flaw affects the setPasswordCfg function in the /cgi-bin/cstecgi.cgi file, where string manipulation triggers the overflow. It is classified under CWE-119, CWE-121, and CWE-787, with 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).

An authenticated attacker with low privileges can exploit this vulnerability remotely by sending a specially crafted string to the affected endpoint. Successful exploitation allows arbitrary code execution, potentially leading to full compromise of the device with high impacts on confidentiality, integrity, and availability.

Advisories from VulDB and a GitHub repository document the issue, including proof-of-concept exploit details, and note that the vendor was contacted prior to public disclosure but has not responded. No patch or mitigation is available from TOTOLINK as of the CVE publication on 2025-02-16; practitioners should isolate affected devices and monitor the vendor site for updates. The exploit has been publicly disclosed and may be used in attacks.

Details

CWE(s)
CWE-119CWE-121CWE-787

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.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Why these techniques?

Stack-based buffer overflow in the public-facing router web CGI interface (/cgi-bin/cstecgi.cgi#setPasswordCfg) is remotely exploitable for RCE or DoS, enabling T1190 (Exploit Public-Facing Application) and T1499.004 (Application or System Exploitation).

References