Skip to main content

Totolink N300RH CVE-2026-9543

| EUVDEUVD-2026-31816 HIGH
OS Command Injection (CWE-78)
2026-05-26 VulDB GHSA-85g8-3qwj-fmpv
8.9
CVSS 4.0 · Vendor: VulDB
Share

Severity by source

Vendor (VulDB) PRIMARY
8.9 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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

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

CVSS VectorVendor: VulDB

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/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
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
X

Lifecycle Timeline

3
Analysis Generated
Jun 08, 2026 - 09:03 vuln.today
Severity Changed
May 26, 2026 - 14:22 NVD
CRITICAL HIGH
CVSS changed
May 26, 2026 - 14:22 NVD
9.8 (CRITICAL) 8.9 (HIGH)

DescriptionCVE.org

A vulnerability has been found in Totolink N300RH 6.1c.1353_B20190305. Affected is the function setPasswordCfg of the file /cgi-bin/cstecgi.cgi of the component Web Management Interface. Such manipulation of the argument admpass leads to os command injection. The attack can be executed remotely. The exploit has been disclosed to the public and may be used.

AnalysisAI

OS command injection in the Totolink N300RH router (firmware 6.1c.1353_B20190305) allows remote unauthenticated attackers to execute arbitrary operating system commands by manipulating the admpass argument sent to the setPasswordCfg function in /cgi-bin/cstecgi.cgi. Publicly available exploit code exists, and the SSVC framework rates technical impact as total with automatable exploitation, though EPSS remains low at 0.20%. The flaw is reachable over the network without authentication or user interaction, giving an attacker full control of the device.

Technical ContextAI

The affected component is the web management interface CGI binary cstecgi.cgi on Totolink N300RH wireless routers (cpe:2.3:a:totolink:n300rh:*:*:*:*:*:*:*:*), specifically the setPasswordCfg handler which processes the admpass parameter. The root cause is CWE-78 (Improper Neutralization of Special Elements used in an OS Command), meaning user-supplied input is concatenated into a shell command without proper sanitization or use of safe execution APIs. This pattern is endemic to SOHO router firmware where CGI scripts invoke system() or popen() with attacker-influenced strings, allowing shell metacharacters to break out of the intended command context and execute as the (typically root) web server user.

RemediationAI

No vendor-released patch identified at time of analysis - Totolink has not published a fixed firmware version in the provided references. As compensating controls, disable remote (WAN-side) management of the router immediately so that /cgi-bin/cstecgi.cgi is not reachable from the internet, which eliminates the unauthenticated remote attack surface at the cost of requiring on-LAN access for administration. Restrict LAN-side access to the management interface to a dedicated admin VLAN or specific MAC/IP addresses to limit insider and compromised-client exploitation, accepting the operational overhead of managing the allowlist. Monitor https://www.totolink.net/ and the VulDB record at https://vuldb.com/vuln/365607 for an official firmware update, and consider replacing the device with a vendor-supported model if the N300RH has reached end-of-life, since SOHO router firmware lifecycles are short and this CGI binary likely contains additional unpatched bugs.

Share

CVE-2026-9543 vulnerability details – vuln.today

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