Skip to main content

Totolink N300RH CVE-2026-7750

| EUVDEUVD-2026-26942 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
    Credential access (default/weak passwords)
  2. Delivery
    Authenticate to web interface
  3. Exploit
    Send crafted POST to /cgi-bin/cstecgi.cgi
  4. Install
    Overflow mac_address buffer
  5. C2
    Overwrite return address
  6. Execute
    Execute arbitrary code 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

Exploitation requires authenticated access to the router's web management interface at privilege level PR:L (low privilege), typically any valid administrator account credentials. The router must be running the vulnerable firmware version 3.2.4-B20220812 and have the MAC address filtering configuration interface accessible via the web UI. The specific attack targets the POST request handler for /cgi-bin/cstecgi.cgi when processing setMacFilterRules function calls, meaning this administrative function must be reachable by the authenticated user role. No unusual network configuration is required beyond standard web interface access (typically HTTP/HTTPS on ports 80/8080/443). Exploitation does not require user interaction beyond the attacker's own authentication (UI:N). The AV:N vector indicates the attack can be conducted remotely over the network, but the authentication requirement means attackers must first compromise credentials or exploit routers using default/weak passwords. Defense limiting factors: authentication requirement provides initial barrier; routers not exposed to internet significantly reduce attack surface; strong unique admin credentials raise exploitation difficulty; disabling remote management limits access to local network only.

Impact

Real-world risk is moderate to high for exposed devices. The CVSS 4.0 vector (AV:N/AC:L/PR:L) indicates network-based exploitation with low complexity requiring only low-privilege authentication, typically router admin credentials which are often default or weak on consumer IoT devices. The E:P (Proof-of-concept) metric confirms public exploit availability, verified by the Notion-hosted technical writeup. However, the PR:L requirement means attackers must first obtain router credentials through credential stuffing, default password exploitation, or social engineering - this is a significant but not insurmountable barrier. The lack of EPSS score and KEV listing suggests exploitation is not yet widespread, but the public POC changes this calculus rapidly. IoT devices like routers have extended exposure windows since consumers rarely update firmware. The VC:H/VI:H/VA:H ratings indicate complete device compromise is achievable. Key missing data: no independent confirmation of affected version range beyond 3.2.4-B20220812, no information on whether newer firmware versions are patched. VulDB reporting (not vendor disclosure) suggests this may be researcher-discovered without coordinated disclosure, potentially leaving users unaware.

Exploit ScenarioDerived

An attacker identifies a Totolink N300RH router exposed on the internet via Shodan or similar scanning, then attempts default credentials (admin/admin or common variants) to authenticate to the web interface. Upon successful login with low-privilege credentials, the attacker crafts a malicious POST request to /cgi-bin/cstecgi.cgi targeting the setMacFilterRules function, inserting a payload exceeding 256 bytes in the mac_address parameter to overflow the buffer. The overflow overwrites the return address on the stack with shellcode address, redirecting execution to attacker-controlled code that establishes a reverse shell or installs persistent backdoor firmware, achieving complete router compromise and potential pivot point into the internal network.

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

Remote authenticated attackers can execute arbitrary code on Totolink N300RH 3.2.4-B20220812 routers via buffer overflow in the setMacFilterRules function. Exploitation requires low-privilege authentication to the router's web interface, then sending a crafted POST request with an oversized mac_address parameter to /cgi-bin/cstecgi.cgi. Public exploit code is available (documented on Notion), significantly lowering the barrier to exploitation. EPSS data not available, but the combination of network attack vector, publicly available POC, and vulnerable IoT device suggest moderate real-world risk for internet-exposed routers with default or weak credentials.

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 enables remote authenticated attackers to achieve complete system compromise via the MAC address filtering interface. A publicly available proof-of-concept exploit demonstrates how crafted POST requests to /cgi-bin/cstecgi.cgi can overflow the mac_address parameter in setMacFilterRules function, leading to arbitrary code execution with high confidentiality, integrity, and availability impact (CVSS 8.8). While authentication is required (PR:L), the low attack complexity (AC:L) and network attack vector (AV:N) make this exploitable by any user with basic router credentials against default configurations.

RemediationAI

No vendor-released security patch has been identified at the time of analysis despite the public disclosure. Users should immediately check https://www.totolink.net/ for firmware updates newer than 3.2.4-B20220812, though the lack of vendor advisory suggests a patch may not be available. Compensating controls with their trade-offs: (1) Disable remote management interfaces entirely and restrict web admin access to local network only via router firewall rules - this prevents internet-based exploitation but requires physical/VPN access for configuration changes. (2) Change default administrator credentials to strong unique passwords immediately - this raises the authentication barrier (PR:L requirement) but does not eliminate risk if credentials are later compromised. (3) If MAC address filtering is not required for your network security model, disable the feature entirely to remove the vulnerable attack surface - this eliminates the specific vulnerability but removes a network access control mechanism some environments rely on. (4) Place the router behind a more secure edge device or replace with a different model if Totolink does not release a patch within your organization's risk tolerance window. Monitor VulDB (https://vuldb.com/vuln/360925) and vendor channels for patch announcements.

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 vulnerability resides in the setMacFilterRules CGI function within the Totolink N300RH router firmware (version 3.2.4-B20220812), specifically in the POST request handler at /cgi-bin/cstecgi.cgi. The root cause is CWE-120, a classic buffer overflow where insufficient bounds checking allows an attacker to write beyond allocated memory when processing the mac_address parameter. Buffer overflows in embedded device CGI handlers are common because firmware developers often use unsafe C functions (strcpy, sprintf) without input validation. The CGI endpoint likely expects MAC addresses in standard format (e.g., AA:BB:CC:DD:EE:FF) but fails to enforce maximum length, allowing attackers to supply arbitrarily long strings that overwrite adjacent memory regions, including return addresses and function pointers. The affected product CPE (cpe:2.3:a:totolink:n300rh) identifies this as a Totolink N300RH wireless router application firmware component.

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:27 vuln.today
v2 - CVSS changed
CVSS changed
May 04, 2026 - 10:22 NVD
8.8 (HIGH) 7.4 (HIGH)
CVE Published
May 04, 2026 - 09:00 nvd
HIGH 7.4

DescriptionCVE.org

A vulnerability was detected in Totolink N300RH 3.2.4-B20220812. This vulnerability affects the function setMacFilterRules of the file /cgi-bin/cstecgi.cgi of the component POST Request Handler. The manipulation of the argument mac_address results in buffer overflow. The attack may be launched remotely. The exploit is now public and may be used.

Executive ViewAI

Why It Matters

Totolik N300RH routers (version 3.2.4-B20220812 and potentially earlier) are vulnerable to remote code execution via an authenticated buffer overflow attack. Attackers with low-privilege web interface access can execute arbitrary code by sending a malformed request, and publicly available exploit code significantly increases real-world attack likelihood. Organizations operating these devices face direct compromise risk if routers are internet-exposed or accessible to untrusted users.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Disable or restrict remote web interface access via firewall rules; (2) enforce strong authentication credentials and multi-factor authentication if supported; (3) segment IoT devices on isolated VLAN with egress filtering; (4) implement network intrusion detection signatures for malformed POST requests to vulnerable CGI endpoints; (5) prioritize replacement with vendor-supported firmware or hardware.

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