Authenticated command execution via unfiltered debug parameters
Published Nov 13, 2024 · Updated Nov 21, 2024
OS command injection in Tenda G3 3.0 firmware 15.11.0.20 allows remote authenticated users to execute commands via a crafted POST request. The formSetDebugCfg handler reads enable, level, and module from /goform/setDebugCfg, formats them without filtering into an echo command, and invokes system(). Access to the handler requires a valid management login; successful injection runs attacker-supplied shell commands on the router.
Summary
What happened
OS command injection in Tenda G3 3.0 firmware 15.11.0.20 allows remote authenticated users to execute commands via a crafted POST request. The formSetDebugCfg handler reads enable, level, and module from /goform/setDebugCfg, formats them without filtering into an echo command, and invokes system(). Access to the handler requires a valid management login; successful injection runs attacker-supplied shell commands on the router.
The record
- CVE
- CVE-2024-50853
- Published
- Nov 13, 2024
- Updated
- Nov 21, 2024
- Vendor
- Shenzhen Tenda Technology Co., Ltd.
- Product
- G3 QoS VPN Router
- Classifications
- CWE-78, CWE-77, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Nov 13, 2024CVE publishedPublication date reported by the CVE source.
- Nov 21, 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=v3.0_v15.11.0.20
What conditions does exploitation require?
What is affected?
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
- Tenda G3 formSetDebugCfg request proofproof 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