TOTOLINK X5000R
CVE-2025-13184
CRITICAL
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remote, unauthenticated, low-complexity authorization bypass yielding root command execution gives PR:N/UI:N and full C/I/A impact on the single device.
Primary rating from Vendor (cert).
CVSS VectorVendor: cert
Lifecycle Timeline
4DescriptionCVE.org
Unauthenticated Telnet enablement via cstecgi.cgi (auth bypass) leading to unauthenticated root login with a blank password on factory/reset X5000R V9.1.0u.6369_B20230113 (arbitrary command execution). Earlier versions that share the same implementation, may also be affected.
AnalysisAI
Unauthenticated remote attackers can enable Telnet on TOTOLINK X5000R AX1800 routers running firmware V9.1.0u.6369_B20230113 by abusing an authorization bypass in the cstecgi.cgi endpoint, and then log in as root using a blank password on factory-reset devices, yielding arbitrary command execution. Publicly available exploit code exists (a detailed write-up is referenced by NVD), and EPSS places this at roughly 11.28% (96th percentile), indicating elevated real-world interest, though there is no CISA KEV confirmation of active exploitation. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, score 9.8) confirms the bypass is fully unauthenticated and requires no user interaction; risk is highest where the router's web management interface is reachable from the WAN or an untrusted network.
Technical ContextAI
The root issue is CWE-863 (Incorrect Authorization): the cstecgi.cgi CGI handler on the TOTOLINK X5000R AX1800 router firmware exposes functionality - specifically the ability to enable the Telnet service - without enforcing the authentication/authorization checks that should gate it. Because the handler fails to validate that a request originates from an authenticated administrative session, a remote, unauthenticated client can invoke it directly over HTTP and turn on the Telnet daemon. Combined with the factory/reset configuration, which leaves the root account with a blank password, this turns the authorization bypass into a full unauthenticated root shell and arbitrary command execution on the device. The affected artifact per the CPE is totolink:x5000r_firmware:9.1.0u.6369_b20230113, i.e. the router's firmware image, and the advisory notes that earlier firmware releases sharing the same cstecgi.cgi implementation may be affected as well. CERT/CC coordinated disclosure (KB CERT VU#821724) and an independent researcher write-up document the technique, and the NVD vector AV:N/AC:L/PR:N/UI:N confirms the pre-auth nature of the bypass.
RemediationAI
No vendor-released patch is identified in the available data at time of analysis, so remediation must rely on compensating controls. The most effective step is to eliminate reachability: disable remote/WAN administration and ensure the router's web management interface is not exposed to the internet, restricting it to a trusted LAN or dedicated management VLAN (trade-off: you lose convenient off-site administration). Disable Telnet explicitly if the firmware permits it, and set a strong, non-blank root/admin password immediately after any factory reset or firmware upgrade, since the unauthenticated root login depends on the blank-password factory state - note this blocks only the final login step and does not stop the authorization bypass itself from enabling Telnet. Monitor or block outbound/inbound TCP port 23 and audit for unexpected Telnet enablement. Consult the CERT/CC note (https://www.kb.cert.org/vuls/id/821724) and the researcher write-up (https://hackingbydoing.wixsite.com/hackingbydoing/post/totolink-x5000r-ax1800-router-authentication-bypass) for technical detail, and check with TOTOLINK for an updated firmware release before assuming any specific version is fixed.
More in X5000r Firmware
View allTOTOLINK X5000R V9.1.0u.6118_B20201102 and V9.1.0u.6369_B20230113 contain a command insertion vulnerability in setting/s
TOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain a command injection via the setWanCfg function. Rated
Argument injection in TOTOLINK X5000R router v9.1.0cu via setDiagnosisCfg handler allows unauthenticated remote code exe
TOTOLINK X5000R V9.1.0cu.2350_B20230313 was discovered to contain a command injection vulnerability via the 'port' param
Buffer Overflow vulnerability in TOTOLink X5000R V9.1.0u.6118-B20201102 and A7000R V9.1.0u.6115-B20201022, allow remote
A vulnerability was found in Totolink X5000R 9.1.0cu.2300_B20230112. Rated critical severity (CVSS 9.8), this vulnerabil
TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over
TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over
TOTOLINK X5000R V9.1.0u.6118_B20201102 and TOTOLINK A7000R V9.1.0u.6115_B20201022 was discovered to contain a stack over
TOTOLINK X5000R B20210419 was discovered to contain a remote code execution (RCE) vulnerability via the setTracerouteCfg
TOTOLINK X5000R_V9.1.0cu.2089_B20211224 and X5000R_V9.1.0cu.2350_B20230313 were discovered to contain a remote code exec
TOTOLINK X5000R V9.1.0u.6118_B20201102 and V9.1.0u.6369_B20230113 contains a command insertion vulnerability in setDiagn
Same weakness CWE-863 – Incorrect Authorization
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today