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/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
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
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/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
Lifecycle Timeline
5DescriptionCVE.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.
AnalysisAI
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.
Technical ContextAI
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.
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.
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
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36665
GHSA-8x52-x2jf-947x