8.8
HIGH CVSS 3.1
CVE-2024-7158
TOTOLINK A3100R Telnet Command Injection Vulnerability
Description

A vulnerability was found in TOTOLINK A3100R 4.1.2cu.5050_B20200504. It has been declared as critical. This vulnerability affects the function setTelnetCfg of the file /cgi-bin/cstecgi.cgi of the component HTTP POST Request Handler. The manipulation of the argument telnet_enabled leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-272572. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.

INFO

Published Date :

July 28, 2024, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 9:50 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-7158 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 a3100r_firmware
2 Totolink a3100r
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 3.1 HIGH [email protected]
CVSS 4.0 MEDIUM [email protected]
Public PoC/Exploit Available at Github

CVE-2024-7158 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

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-2024-7158.

URL Resource
https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md Exploit
https://vuldb.com/?ctiid.272572 Permissions Required Third Party Advisory
https://vuldb.com/?id.272572 Third Party Advisory
https://vuldb.com/?submit.377543 Third Party Advisory
https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md Exploit
https://vuldb.com/?ctiid.272572 Permissions Required Third Party Advisory
https://vuldb.com/?id.272572 Third Party Advisory
https://vuldb.com/?submit.377543 Third Party Advisory
CWE - Common Weakness Enumeration

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

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).

"Collection of IoT vulnerability research and exploits, focusing on unauthorized access, CVEs, and popular devices like TP-LINK, Tenda, D-Link, and more. Perfect for penetration testing and IoT security enthusiasts."

bugbountytips dlink exploitation exploitation-framework iot-platform poc tutorials vulnerability-detection

Updated: 1 month, 3 weeks ago
12 stars 5 fork 5 watcher
Born at : Jan. 20, 2025, 3:52 a.m. This repo has been linked 317 different CVEs too.

None

Updated: 8 months, 2 weeks ago
13 stars 2 fork 2 watcher
Born at : Dec. 6, 2023, 12:17 p.m. This repo has been linked 317 different CVEs too.

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

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

The following table lists the changes that have been made to the CVE-2024-7158 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.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md
    Added Reference https://vuldb.com/?ctiid.272572
    Added Reference https://vuldb.com/?id.272572
    Added Reference https://vuldb.com/?submit.377543
  • Initial Analysis by [email protected]

    Aug. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md No Types Assigned https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md Exploit
    Changed Reference Type https://vuldb.com/?ctiid.272572 No Types Assigned https://vuldb.com/?ctiid.272572 Permissions Required, Third Party Advisory
    Changed Reference Type https://vuldb.com/?id.272572 No Types Assigned https://vuldb.com/?id.272572 Third Party Advisory
    Changed Reference Type https://vuldb.com/?submit.377543 No Types Assigned https://vuldb.com/?submit.377543 Third Party Advisory
    Added CPE Configuration AND OR *cpe:2.3:o:totolink:a3100r_firmware:4.1.2cu.5050_b20200504:*:*:*:*:*:*:* OR cpe:2.3:h:totolink:a3100r:-:*:*:*:*:*:*:*
  • CVE Received by [email protected]

    Jul. 28, 2024

    Action Type Old Value New Value
    Added Description A vulnerability was found in TOTOLINK A3100R 4.1.2cu.5050_B20200504. It has been declared as critical. This vulnerability affects the function setTelnetCfg of the file /cgi-bin/cstecgi.cgi of the component HTTP POST Request Handler. The manipulation of the argument telnet_enabled leads to command injection. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier of this vulnerability is VDB-272572. NOTE: The vendor was contacted early about this disclosure but did not respond in any way.
    Added Reference VulDB https://vuldb.com/?id.272572 [No types assigned]
    Added Reference VulDB https://vuldb.com/?ctiid.272572 [No types assigned]
    Added Reference VulDB https://vuldb.com/?submit.377543 [No types assigned]
    Added Reference VulDB https://github.com/abcdefg-png/IoT-vulnerable/blob/main/TOTOLINK/A3100R/setTelnetCfg.md [No types assigned]
    Added CWE VulDB CWE-77
    Added CVSS V2 VulDB (AV:N/AC:L/Au:S/C:P/I:P/A:P)
    Added CVSS V3.1 VulDB AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
    Added CVSS V4.0 VulDB CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/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
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.
Vulnerability Scoring Details
Base CVSS Score: 5.3
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability
Base CVSS Score: 8.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 6.5
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact