Skip to main content

Totolink N300RH CVE-2026-7748

| EUVDEUVD-2026-26939 HIGH
Classic Buffer Overflow (CWE-120)
2026-05-04 VulDB
7.4
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain router credentials
  2. Delivery
    Authenticate to web interface
  3. Exploit
    Send crafted POST to /cgi-bin/cstecgi.cgi
  4. Install
    Trigger buffer overflow in setUpgradeFW
  5. C2
    Overwrite return pointer
  6. Execute
    Execute shellcode as root
  7. Impact
    Establish persistent backdoor

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires valid low-privilege authenticated access (PR:L) to the Totolink N300RH web administration interface - specifically, an attacker must possess valid admin credentials to send POST requests to /cgi-bin/cstecgi.cgi. The vulnerability is exploitable against default configurations of firmware version 3.2.4-B20220812 once authentication is achieved. No additional feature enablement or non-default configuration is required beyond the standard web interface being accessible. Exploitation is limited by credential requirements - devices with default/weak passwords face significantly higher risk, especially if admin interfaces are exposed to WAN/internet. Devices with strong unique credentials and admin access restricted to LAN-only are substantially harder to exploit despite the network attack vector (AV:N), as attackers must first compromise credentials or achieve local network position.

Impact

CVSS 4.0 vector shows network attack vector (AV:N), low complexity (AC:L), no attack complexity (AT:N), requiring low privileges (PR:L), with high impact to confidentiality, integrity, and availability (VC:H/VI:H/VA:H) but no impact to subsequent systems (SC:N/SI:N/SA:N). The Exploit maturity indicator E:P confirms proof-of-concept exists. Public exploit code is documented on Notion per references. However, this vulnerability requires authentication (PR:L) to the router's admin interface, significantly limiting attack surface compared to unauthenticated RCE. No EPSS score provided in input data. Not present in CISA KEV, indicating no confirmed widespread exploitation despite public POC availability. Real-world risk is moderate: while the vulnerability enables complete device compromise, exploitation requires prior credential access (default credentials, credential stuffing, or phishing). For internet-facing routers with weak/default credentials, risk escalates substantially. Organizations should prioritize if Totolink N300RH devices are deployed, especially in edge/remote office scenarios where admin interfaces may be exposed.

Exploit ScenarioDerived

An attacker who has obtained credentials to the Totolink N300RH admin interface (via default credentials, credential reuse, or prior compromise) authenticates to the web management portal over the network. Using the publicly available exploit code documented on Notion, the attacker sends a crafted POST request to /cgi-bin/cstecgi.cgi targeting the setUpgradeFW function with a maliciously oversized FileName parameter designed to overflow the stack buffer. The overflow overwrites the return address, redirecting execution to attacker-controlled shellcode that executes with root privileges, granting complete control over the router to establish persistence, intercept traffic, or pivot to internal network devices.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – May 04, 2026

Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 enables authenticated remote attackers to achieve code execution via crafted FileName parameter to the setUpgradeFW function in /cgi-bin/cstecgi.cgi. Public exploit code is available (documented in Notion). CVSS 7.4 with CVSS 4.0 Exploit maturity 'Proof-of-concept' confirms POC exists. Not listed in CISA KEV, suggesting limited real-world exploitation despite public POC.

Earlier versions of this analysis (1)
v1 May 04, 2026 - 10:00 CVSS 8.8

Buffer overflow in Totolink N300RH 3.2.4-B20220812 firmware allows authenticated remote attackers to achieve high-impact compromise (potential code execution, data theft, and denial of service) via crafted FileName parameter in POST requests to /cgi-bin/cstecgi.cgi setUpgradeFW function. Public exploit code exists (POC available on Notion), significantly lowering exploitation barrier. CVSS 8.8 reflects network attack vector with low complexity, though authentication requirement (PR:L) provides some defense. No patch availability data identified - vendor security posture unclear given absence of public advisory from totolink.net.

RemediationAI

No vendor-released security patch or firmware update has been identified in the available references at time of analysis. Check Totolink's official support site (https://www.totolink.net/) for firmware updates newer than 3.2.4-B20220812. Compensating controls: Disable remote administration access to the router web interface from WAN/internet side - configure firewall rules to block external access to ports 80/443/8080 on the device's WAN IP, limiting admin access to LAN-side only (trade-off: eliminates remote management capability). Change default administrative credentials immediately to strong unique passwords, as PR:L requirement means attackers need valid credentials (trade-off: does not fix the vulnerability but raises exploitation bar). Implement network segmentation to isolate IoT/router management networks from critical systems, limiting blast radius if device is compromised. For enterprise deployments, consider replacing affected devices with enterprise-grade equipment that receives regular security updates. Monitor device logs for unexpected POST requests to /cgi-bin/cstecgi.cgi with abnormally long FileName parameters as potential exploitation attempts.

Affected VersionsENISA

N300RH 3.2.4-B20220812

Affected Packages

euvd n300rh no fix

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

This is a classic stack-based buffer overflow (CWE-120) in the firmware upgrade handler of a consumer-grade router. The vulnerable function setUpgradeFW processes POST requests to /cgi-bin/cstecgi.cgi without proper bounds checking on the FileName parameter, allowing an attacker to write beyond allocated buffer boundaries. Consumer router firmware often uses CGI scripts written in C/C++ for web interfaces, and inadequate input validation in file upload handlers is a common vulnerability pattern. The CPE cpe:2.3:a:totolink:n300rh:*:*:*:*:*:*:*:* identifies this as an application-layer vulnerability in Totolink's N300RH product line. Buffer overflows in embedded device firmware can lead to arbitrary code execution with the privileges of the web server process, typically root on such devices.

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

Vendor (VulDB) PRIMARY 7.4 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

4
PoC Detected
May 04, 2026 - 15:17 vuln.today
Public exploit code
Analysis Updated
May 04, 2026 - 10:29 vuln.today
v2 - CVSS changed
CVSS changed
May 04, 2026 - 10:22 NVD
8.8 (HIGH) 7.4 (HIGH)
CVE Published
May 04, 2026 - 08:30 nvd
HIGH 7.4

DescriptionCVE.org

A weakness has been identified in Totolink N300RH 3.2.4-B20220812. Affected by this issue is the function setUpgradeFW of the file /cgi-bin/cstecgi.cgi of the component POST Request Handler. Executing a manipulation of the argument FileName can lead to buffer overflow. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks.

Executive ViewAI

Why It Matters

Totolik N300RH router firmware 3.2.4-B20220812 contains a buffer overflow vulnerability in the firmware upgrade function that allows authenticated remote attackers to execute arbitrary code. Organizations deploying this router model face immediate risk of remote compromise by authenticated threat actors, potentially enabling lateral network movement and data exfiltration from connected networks.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative access to affected routers using network-level controls (firewall rules, VPN-only admin access); (2) Disable remote management features if not operationally required; (3) Implement network segmentation to isolate router management interfaces; (4) Monitor for suspicious upgrade requests to affected devices; (5) Maintain offline backup of current firmware configuration pending patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 77% exploitable
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

57
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy