Skip to main content

Totolink N300RH EUVDEUVD-2026-26941

| CVE-2026-7749 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 admin credentials
  2. Delivery
    Authenticate to web interface
  3. Exploit
    Send crafted POST to /cgi-bin/cstecgi.cgi
  4. Install
    Overflow priDns buffer
  5. C2
    Overwrite return address
  6. Execute
    Execute shellcode as root
  7. Impact
    Install 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

Attacker must possess valid authentication credentials (username and password) for the Totolink N300RH administrative web interface, as indicated by CVSS PR:L (low privileges required). The router's web management interface must be network-accessible to the attacker - either exposed to the internet via WAN-side management (non-default configuration on most routers) or accessible from a compromised device on the LAN side. Default configurations typically restrict admin access to LAN only, which would require the attacker to first compromise a device on the internal network. The specific vulnerable firmware version 3.2.4-B20220812 must be running. No special router features need to be enabled beyond the standard web-based configuration interface. Limiting factors: authentication requirement prevents fully unauthenticated remote exploitation; exploitation from internet requires non-default remote management enabled; attack complexity is low (AC:L) once credentials are obtained, requiring no race conditions or specialized timing.

Impact

Real-world risk is MODERATE despite the 7.4 CVSS score due to required authentication (PR:L) and the limited deployment scope of this specific router model. The CVSS 4.0 vector shows network-accessible attack (AV:N) with low complexity (AC:L) requiring low-privilege authentication but no user interaction (UI:N), leading to high impact on device confidentiality, integrity, and availability (VC:H/VI:H/VA:H) with no scope change (SC:N/SI:N/SA:N). The E:P modifier confirms proof-of-concept exploit exists publicly. However, EPSS data is not provided, CISA KEV status is absent (suggesting no confirmed widespread exploitation), and SSVC indicators point to lower priority: exploitation requires authenticated access to router admin interface, attack is automatable post-authentication but requires credential compromise first, and technical impact is limited to individual router devices rather than enterprise-scale systems. The primary risk is to environments where router credentials have been compromised through phishing, default passwords, or credential reuse. For organizations using this router model with strong credential hygiene, risk is significantly lower than raw CVSS suggests. Key missing data: EPSS probability score, confirmation of whether default credentials exist, and vendor's security response timeline.

Exploit ScenarioDerived

An attacker who has obtained valid credentials for the Totolink N300RH admin interface (through phishing, default password exploitation, or credential stuffing) logs into the router's web management panel remotely. The attacker crafts a malicious HTTP POST request to /cgi-bin/cstecgi.cgi targeting the setWanConfig function, inserting an oversized string (exceeding buffer limits) into the priDns parameter that contains shellcode. The buffer overflow overwrites the stack return address, redirecting execution to attacker-controlled code running with root privileges on the router, allowing installation of persistent backdoors, DNS hijacking for man-in-the-middle attacks, or pivot points into the internal network. Public exploit code documented at lavender-bicycle-a5a.notion.site demonstrates the exact payload structure required.

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 allows authenticated remote attackers to achieve complete device compromise via crafted DNS parameter in WAN configuration requests. The vulnerability exists in the setWanConfig function within /cgi-bin/cstecgi.cgi POST handler, exploitable by manipulating the priDns argument. Public exploit code is available (CVSS E:P), and CVSS 4.0 score of 7.4 reflects high confidentiality, integrity, and availability impact on the vulnerable device with no cross-scope effects.

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

Buffer overflow in Totolink N300RH router firmware 3.2.4-B20220812 allows authenticated remote attackers to achieve high-impact compromise including code execution, data theft, and denial of service. The vulnerability resides in the setWanConfig function of /cgi-bin/cstecgi.cgi POST request handler, triggered by malformed priDns parameter input. Public exploit code exists (documented in Notion technical writeup), elevating real-world risk despite requiring low-privilege authentication. EPSS data not available, not listed in CISA KEV, suggesting targeted exploitation rather than widespread campaigns.

RemediationAI

No vendor-released security patch has been identified at time of analysis. Check Totolink's official website (https://www.totolink.net/) and support channels for firmware updates newer than 3.2.4-B20220812, though no specific fixed version is documented in available advisories. Until patching is possible, implement these compensating controls: (1) Disable remote management access to the router's web interface entirely - restricts attack surface to LAN-only, eliminating network-based remote exploitation but requires physical or VPN access for administration; (2) Change default administrative credentials to complex passwords (16+ characters) to prevent initial authentication - does not fix the vulnerability but raises attacker cost significantly; (3) Restrict administrative interface access to specific trusted IP addresses via firewall rules if remote management is required - reduces exposure but depends on static IP availability; (4) Monitor authentication logs for repeated failed login attempts or unusual administrative sessions. If business requirements allow, consider replacing the device with a currently-supported router model from vendors with active security update programs, as this appears to be an end-of-life or minimally-supported product line.

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 embedded router CGI handling code. The setWanConfig function in the cstecgi.cgi POST request handler fails to properly validate the length of the priDns (primary DNS server) parameter before copying it into a fixed-size buffer. Totolink N300RH is a wireless router running proprietary firmware version 3.2.4-B20220812. The vulnerability affects the web management interface's WAN configuration module, which processes network setup parameters. Buffer overflows in CGI handlers on SOHO routers are particularly critical because they often run with root privileges and handle network-facing configuration interfaces. The affected CPE is cpe:2.3:a:totolink:n300rh:*:*:*:*:*:*:*:*, indicating the vulnerability is in the application layer firmware rather than hardware-specific.

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:28 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:45 nvd
HIGH 7.4

DescriptionCVE.org

A security vulnerability has been detected in Totolink N300RH 3.2.4-B20220812. This affects the function setWanConfig of the file /cgi-bin/cstecgi.cgi of the component POST Request Handler. The manipulation of the argument priDns leads to buffer overflow. The attack may be initiated remotely. The exploit has been disclosed publicly and may be used.

Executive ViewAI

Why It Matters

Totolink N300RH router firmware 3.2.4-B20220812 contains a buffer overflow vulnerability (CVE-2026-7749) that enables authenticated remote attackers to completely compromise affected devices through malicious DNS configuration requests. Organizations deploying this router model risk unauthorized access to network infrastructure, potential lateral movement into corporate networks, and disruption of critical connectivity, particularly where routers serve as security perimeter devices.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict administrative access to the router management interface via firewall rules to trusted IP ranges only; (2) Disable remote WAN configuration capabilities if operational requirements permit; (3) Implement network segmentation to isolate routers from critical infrastructure; (4) Monitor router logs for suspicious WAN configuration requests; (5) Enforce strong authentication credentials on all router accounts.

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