Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach GL-MT3000 admin interface over LAN/WAN
-
DeliveryAuthenticate to oui-httpd with valid credentials
-
ExploitSend crafted JSON-RPC to tor.replace_country with shell metacharacters
-
ExecutionTrigger command injection in /usr/lib/oui-httpd/rpc/tor
-
PersistExecute arbitrary commands as root
-
ImpactInstall implant and pivot into LAN
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
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 (1) network reachability to the oui-httpd management interface on the GL-MT3000 - by default this is exposed on the LAN side (192.168.8.1) and is only reachable from the WAN if the user enabled Remote Access in the admin panel; (2) a valid authenticated session against the admin RPC endpoint (CVSS PR:L), meaning the attacker must possess or obtain the device admin password (default, weak, phished, or CSRF-chained); (3) the device must be running firmware ≤ 4.4.5 with the Tor Proxy Service handler /usr/lib/oui-httpd/rpc/tor present (this RPC ships in stock firmware so no opt-in feature toggle is required). No user interaction is needed once authenticated, and no specific platform exception applies beyond the GL-MT3000 (Beryl AX) hardware identified in the CPE. |
| Impact | Real-world risk is moderate-to-high but bounded. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N, VC:H/VI:H/VA:H) accurately reflects that exploitation is network-reachable, low-complexity, requires no user interaction, and yields full compromise of the device - but it requires PR:L, meaning a valid authenticated session against the oui-httpd RPC endpoint. Combined with a publicly available PoC on GitHub and confirmed vendor patch, this is a credible weaponization candidate for opportunistic attackers on LAN-exposed or WAN-exposed admin interfaces, especially given that many travel-router users retain default/weak admin credentials. There is no CISA KEV listing and no EPSS score provided, so widespread mass exploitation is not yet evidenced; the dominant risk profile is post-credential-compromise lateral abuse and attackers chaining default-credential or CSRF-style flows to reach PR:L. No conflicting signals were observed between the vector and the description. |
| Exploit ScenarioDerived | An attacker on the same LAN as a GL-MT3000 (or reaching it over WAN where remote admin is enabled) authenticates to the web UI using a weak, default, or phished admin credential, then issues a crafted JSON-RPC call to the tor module's replace_country method with shell metacharacters embedded in the country parameter. The oui-httpd handler concatenates the value into a shell command and executes the attacker's payload as root, allowing them to install a persistent implant, exfiltrate VPN/WireGuard credentials stored on the device, or pivot to the internal network behind the router. A working PoC is published on GitHub (StrTzz123/iot_vul), lowering the skill barrier substantially. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv3 – Jun 14, 2026
Authenticated command injection in the GL.iNet GL-MT3000 travel router (firmware up to 4.4.5) lets remote attackers with low-privileged access execute arbitrary OS commands via the replace_country function in the Tor Proxy Service configuration handler. Publicly available exploit code exists for the flaw, and the vendor has shipped a fix; no public exploit identified at time of analysis as actively exploited in the wild.
Earlier versions of this analysis (2)
Command injection in the GL.iNet GL-MT3000 router (firmware versions up to 4.4.5) allows authenticated remote attackers to execute arbitrary OS commands via the replace_country function in the Tor Proxy Service Configuration Handler (/usr/lib/oui-httpd/rpc/tor). Publicly available exploit code exists, and the vendor has released firmware 4.7 (and later 4.8.1) to remediate the flaw. The CVSS 4.0 score of 7.4 reflects high impact across confidentiality, integrity, and availability with low privilege requirements.
Command injection in the GL.iNet GL-MT3000 travel router (firmware ≤ 4.4.5) allows authenticated remote attackers to execute arbitrary OS commands via the replace_country function in the Tor Proxy Service Configuration Handler (/usr/lib/oui-httpd/rpc/tor). Publicly available exploit code exists on GitHub, and the CVSS 4.0 score of 8.7 reflects high impact on confidentiality, integrity, and availability of the device. No CISA KEV listing at time of analysis, but the public PoC raises the likelihood of opportunistic targeting of exposed management interfaces.
RemediationAI
Vendor-released patch: upgrade GL-MT3000 firmware to version 4.7 or later (the vendor-published fixed image referenced in the advisory is mt3000-4.8.1-0819, available at https://fw.gl-inet.com/firmware/mt3000/release/mt3000-4.8.1-0819-1755615825.tar). Apply via the LuCI/GL.iNet admin UI or sysupgrade and verify the running version afterwards. As compensating controls until patching is possible, restrict access to the admin web interface to trusted management VLANs only and disable WAN-side administration in the GL.iNet UI (Settings → Admin Panel → Remote Access) to remove network reachability of the oui-httpd RPC; rotate the admin password to a strong unique value since exploitation needs PR:L; and disable the Tor client/Tor Proxy feature under Applications → Tor if not in use, which removes the reachable replace_country RPC path at the cost of losing Tor-based egress. Note that disabling remote admin will also block legitimate remote management workflows. Refer to https://vuldb.com/vuln/370832 and the PoC at https://github.com/StrTzz123/iot_vul/blob/main/GL-iNet/MT3000/4.4.5/tor_set_config/Readme.md for indicators.
Affected VersionsENISA
Affected Packages
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
The GL-MT3000 (Beryl AX) is a MediaTek-based pocket-sized OpenWrt-derived travel router from GL.iNet that exposes a custom JSON-RPC management interface implemented by /usr/lib/oui-httpd, the in-house HTTP daemon used across the GL.iNet firmware family. The vulnerable replace_country routine lives in the rpc/tor module, which configures Tor proxy parameters such as the country/exit-node selector. CWE-77 (Improper Neutralization of Special Elements used in a Command) indicates the handler concatenates an attacker-supplied country value into a shell command (likely a system()/popen() call updating torrc or invoking iptables/iwconfig style helpers) without sanitization or argument-array execution, allowing metacharacters such as ;, |, $(...) or backticks to escape the intended command. Confirmed affected CPE: cpe:2.3:a:gl.inet:gl-mt3000.
Know when Gl Mt3000 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
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
Network-reachable admin RPC (AV:N), trivial injection with public PoC (AC:L), requires valid admin session (PR:L), no user interaction, root command execution gives full C/I/A impact.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in GL.iNet GL-MT3000 up to 4.4.5. Affected is the function replace_country in the library /usr/lib/oui-httpd/rpc/tor of the component Tor Proxy Service Configuration Handler. This manipulation causes command injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 4.7 is able to address this issue. It is recommended to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Executive ViewAI
GL.iNet GL-MT3000 travel routers used by remote workers and traveling executives are vulnerable to a high-severity security flaw that allows attackers with valid credentials to compromise the device and intercept all network traffic and data passing through it. This poses significant risk to the confidentiality and integrity of corporate communications and remote work sessions. Immediate firmware updates are required to protect these critical remote access devices.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Command injection in GL.iNet GL-MT3000 router firmware (all versions through 4.4.5) allows unauthenticated remote attack
Remote command injection in GL.iNet GL-MT3000 router firmware (versions 4.4.0 through 4.4.5) allows unauthenticated netw
Remote command injection in GL-iNet GL-MT3000 firmware through version 4.4.5 allows unauthenticated network attackers to
Command injection in GL.iNet GL-MT3000 firmware up to version 4.4.5 exposes the device to full remote compromise through
Unauthenticated remote command injection in GL-iNet GL-MT3000 firmware (versions 4.4.0 through 4.4.5) allows network-adj
Command injection in GL.iNet GL-MT3000 firmware up to version 4.4.5 allows remote attackers to execute arbitrary OS comm
Remote command injection in GL-iNet GL-MT3000 firmware (up to version 4.4.5) allows unauthenticated network attackers to
Remote command injection in the GL-iNet GL-MT3000 travel router (firmware 4.4.0-4.4.5) allows unauthenticated network-ad
Remote command injection in GL.iNet GL-MT3000 routers (firmware 4.4.0-4.4.5) allows unauthenticated network attackers to
Injection vulnerability in GL-iNet GL-MT3000 (Beryl AX) firmware through version 4.4.5 exposes the plugins.set_config fu
Command injection in the GL.iNet GL-MT3000 travel router's Online Firmware Upgrade Handler (/usr/bin/one_click_upgrade)
Command injection in the GL.iNet GL-MT3000 router's Network Lua RPC Plugin allows authenticated remote attackers to exec
EUVD-2026-36665
GHSA-8x52-x2jf-947x
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB