Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend HTTP request to /cgi-bin/cstecgi.cgi
-
DeliveryInject path-traversal payload in FileName parameter
-
ExploitBypass input validation in setUploadSetting
-
ExecutionWrite malicious file to system directory
-
PersistAchieve file inclusion or code execution
-
ImpactCompromise router configuration or launch secondary attacks
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Remote unauthenticated access to the /cgi-bin/cstecgi.cgi endpoint is the only requirement. The setUploadSetting function does not enforce authentication (CVSS PR:N) and accepts requests over HTTP from any network-reachable source (AV:N/AC:L). No special configuration, firmware feature enablement, or user interaction is needed. The vulnerability exists in the default administrative interface of the N300RH and requires no additional conditions. Limiting factors include: (1) the attacker must have network connectivity to the router's web interface, (2) the router must be running vulnerable firmware 6.1c.1353_B20190305 or similar unpatched versions, and (3) firewall rules or network segmentation may prevent external access in properly managed networks. Default deployments with internet-exposed administrative interfaces are at maximum risk. |
| Impact | CVSS 6.5 (AV:N/AC:L/PR:N/UI:N) indicates network-accessible, unauthenticated exploitation with low attack complexity - a significant threat surface for exposed routers. EPSS data is not provided, limiting quantitative exploitation probability assessment. However, the combination of publicly available exploit code, remote unauthenticated access (PR:N), and no user interaction requirement (UI:N) creates a high real-world risk for unpatched devices. The vulnerability does not directly enable remote code execution (Impact shows Integrity:L, Availability:L, Confidentiality:None), but file-write capabilities can facilitate secondary attacks such as configuration modification, malware staging, or denial of service. The absence of CVSS Scope:C (not affecting other systems) and the RL:X/RC:R vector modifiers suggest moderate reliability. This is a genuine priority for any environment where Totolink N300RH routers are deployed, particularly in IoT or edge network segments. |
| Exploit ScenarioDerived | An attacker remotely accesses the unpatched N300RH router's /cgi-bin/cstecgi.cgi endpoint and crafts a malicious HTTP request with a path-traversal payload in the FileName parameter (e.g., FileName=../../etc/init.d/startup_script.sh). The setUploadSetting function processes this input without validation and writes or includes the attacker-supplied file to a critical system location, enabling persistent command execution or router configuration tampering. The publicly available POC on GitHub demonstrates this attack chain and can be executed by any attacker with network access to the router. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 02, 2026
External file inclusion in Totolink N300RH firmware 6.1c.1353_B20190305 allows remote unauthenticated attackers to manipulate the FileName parameter in the setUploadSetting function via /cgi-bin/cstecgi.cgi, enabling arbitrary file writes and denial of service. Publicly available exploit code exists, and the vulnerability carries a CVSS score of 6.5 reflecting network-accessible attack vector with low complexity.
RemediationAI
Vendor patch information is not available in the provided references. Users should immediately check Totolink's official website (https://www.totolink.net/) and support portal for firmware updates addressing CVE-2026-7633. If a patched firmware version is released, apply it immediately via the device's web interface or TFTP recovery method. As a temporary compensating control, restrict network access to the /cgi-bin/cstecgi.cgi endpoint using firewall rules or access control lists - block all external access to the router's administrative interface on port 80/443 unless administration is required, and use only trusted networks for management. Disable UPnP and remote management features if enabled, as they may provide alternative attack vectors. Isolate the router on a separate management VLAN if possible. These mitigations reduce attack surface but do not eliminate the vulnerability; patching is the definitive fix once available.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the cstecgi.cgi CGI script, a common administrative interface in Totolink routers. The setUploadSetting function fails to properly validate the FileName parameter before using it in file operations, enabling path traversal or file inclusion attacks. CWE-73 (External Control of File Name or Path) describes this root cause class where user-supplied input is used directly in file system operations without sanitization. The affected product is a wireless router (N300RH) running embedded firmware, making it an attractive IoT target. The vulnerability allows attackers to write arbitrary files to the system or include malicious files through improper path handling.
Know when N300Rh gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was identified in Totolink N300RH 6.1c.1353_B20190305. This impacts the function setUploadSetting of the file /cgi-bin/cstecgi.cgi. Such manipulation of the argument FileName leads to file inclusion. The attack may be performed from remote. The exploit is publicly available and might be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
OS command injection in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote unauthenticated attacker
Stack-based buffer overflow in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote attackers to corr
Remote unauthenticated attackers can execute arbitrary code on Totolink N300RH routers version 3.2.4-B20220812 by sendin
Remote authenticated attackers can execute arbitrary code on Totolink N300RH 3.2.4-B20220812 routers via buffer overflow
Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 allows authenticated remote attackers to achieve comp
Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 enables authenticated remote attackers to achieve cod
Remote code execution in Totolink N300RH firmware 6.1c.1353_B20190305 allows unauthenticated network attackers to execut
EUVD-2026-26795
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB