CVE-2025-1340
Unknown Unknown - Not Provided

BaseFortify

Vulnerability report for CVE-2025-1340, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2025-02-16

Last updated on: 2025-03-10

Assigner: VulDB

Description

A vulnerability classified as critical has been found in TOTOLINK X18 9.1.0cu.2024_B20220329. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. The manipulation as part of String leads to stack-based buffer overflow. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2025-02-16
Last Modified
2025-03-10
Generated
2026-07-08
AI Q&A
2025-02-17
EPSS Evaluated
2026-07-07
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
totolink x18_firmware 9.1.0cu.2024_b20220329
totolink x18 *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-121 A stack-based buffer overflow condition is a condition where the buffer being overwritten is allocated on the stack (i.e., is a local variable or, rarely, a parameter to a function).
CWE-119 The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

CVE-2025-1340 is a critical vulnerability found in the TOTOLINK X18 router, specifically in the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi. It involves a stack-based buffer overflow caused by improper handling of a string, which allows an attacker to exploit the vulnerability remotely.

Impact Analysis

This vulnerability can lead to unauthorized access to the affected device, allowing attackers to execute arbitrary code, potentially compromising the device's integrity and confidentiality. This could result in data breaches, loss of control over the device, and further attacks on the network it is connected to.

Compliance Impact

The vulnerability could lead to unauthorized access to sensitive data, which may violate compliance requirements under regulations like GDPR and HIPAA. Organizations could face legal repercussions, fines, and damage to their reputation if they fail to protect personal and health information due to this vulnerability.

Detection Guidance

To detect this vulnerability on your network or system, you can use network scanning tools like Nmap to check for open ports and services running on the TOTOLINK X18 device. A command you might use is: `nmap -sV <target_ip>` to identify the version of the service running. Additionally, you can check for specific vulnerabilities using tools like Nessus or OpenVAS, which may have plugins for CVE-2025-1340.

Mitigation Strategies

To mitigate this vulnerability, you should immediately update the TOTOLINK X18 firmware to the latest version provided by the vendor, if available. If no update is available, consider disabling remote access to the device, changing default passwords, and implementing network segmentation to limit exposure. Additionally, monitor network traffic for any suspicious activity related to this device.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-1340. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart