8.8
HIGH
CVE-2025-1340
TOTOLINK X18 Stack-Based Buffer Overflow Remote Vulnerability
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.

INFO

Published Date :

Feb. 16, 2025, 2:15 p.m.

Last Modified :

Feb. 16, 2025, 2:15 p.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2025-1340 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Totolink x18_firmware
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-1340.

URL Resource
https://github.com/stevenchen0x01/CVE2/blob/main/stack_overflow.md
https://vuldb.com/?ctiid.295956
https://vuldb.com/?id.295956
https://vuldb.com/?submit.495368
https://www.totolink.net/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-1340 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-1340 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • Initial Analysis by [email protected]

    Mar. 10, 2025

    Action Type Old Value New Value
    Added CWE CWE-787
    Added CPE Configuration AND OR *cpe:2.3:o:totolink:x18_firmware:9.1.0cu.2024_b20220329:*:*:*:*:*:*:* OR cpe:2.3:h:totolink:x18:-:*:*:*:*:*:*:*
    Added Reference Type VulDB: https://github.com/stevenchen0x01/CVE2/blob/main/stack_overflow.md Types: Broken Link
    Added Reference Type VulDB: https://vuldb.com/?ctiid.295956 Types: Permissions Required, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?id.295956 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://vuldb.com/?submit.495368 Types: Third Party Advisory, VDB Entry
    Added Reference Type VulDB: https://www.totolink.net/ Types: Product
  • New CVE Received by [email protected]

    Feb. 16, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V2 (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CWE CWE-119
    Added CWE CWE-121
    Added Reference https://github.com/stevenchen0x01/CVE2/blob/main/stack_overflow.md
    Added Reference https://vuldb.com/?ctiid.295956
    Added Reference https://vuldb.com/?id.295956
    Added Reference https://vuldb.com/?submit.495368
    Added Reference https://www.totolink.net/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-1340 is associated with the following CWEs:

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability