Local code execution via API shell metacharacters
Published Dec 28, 2023 · Updated Aug 2, 2024
Shell injection in twelve GL.iNet router models allows local users to execute arbitrary commands through authenticated JSON-RPC APIs. The logread module's get_system_log and get_crash_log methods and the upgrade module's upgrade_online method pass externally supplied shell metacharacters into command execution without neutralization. Affected builds are 4.3.7, 4.4.6, or 4.5.0 by model; a valid API session token is required, and successful exploitation grants complete router control.
Summary
What happened
Shell injection in twelve GL.iNet router models allows local users to execute arbitrary commands through authenticated JSON-RPC APIs. The logread module's get_system_log and get_crash_log methods and the upgrade module's upgrade_online method pass externally supplied shell metacharacters into command execution without neutralization. Affected builds are 4.3.7, 4.4.6, or 4.5.0 by model; a valid API session token is required, and successful exploitation grants complete router control.
The record
- CVE
- CVE-2023-50445
- Published
- Dec 28, 2023
- Updated
- Aug 2, 2024
- Vendor
- GL.iNet
- Product
- AXT1800
- Classifications
- CWE-78, CWE-77, T1059.004
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Dec 28, 2023CVE publishedPublication date reported by the CVE source.
- Aug 2, 2024Record 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=4.4.6
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
- Using Shell Metacharacter Injection via APIproof 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