Command execution via unsanitized iface parameter
Published Jun 20, 2024 · Updated Jul 9, 2026
OS command injection in TOTOLINK A6000R firmware 1.0.1-B20201211.2000 allows remote attackers to execute commands through iface. The vif_enable route in /usr/lib/lua/luci/controller/mtkwifi.lua fails to neutralize shell metacharacters in the iface path value before command execution. Reachability is limited to the router management interface on the adjacent network; the public proof of concept includes a sysauth cookie even though CISA scores privileges as none.
Summary
What happened
OS command injection in TOTOLINK A6000R firmware 1.0.1-B20201211.2000 allows remote attackers to execute commands through iface. The vif_enable route in /usr/lib/lua/luci/controller/mtkwifi.lua fails to neutralize shell metacharacters in the iface path value before command execution. Reachability is limited to the router management interface on the adjacent network; the public proof of concept includes a sysauth cookie even though CISA scores privileges as none.
The record
- CVE
- CVE-2024-37626
- Published
- Jun 20, 2024
- Updated
- Jul 9, 2026
- Vendor
- TOTOLINK
- Product
- A6000R Firmware
- Classifications
- CWE-78, T1059
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 20, 2024CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0.1-b20201211.2000
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- A6000R vif_enable command-injection proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo