Unauthenticated command execution via unsanitized timezone parameter
Published Feb 23, 2024 · Updated Apr 22, 2025
Command injection in TOTOLINK X6000R firmware 9.4.0cu.852_20230719 allows remote attackers to execute commands via a crafted tz value. The setWizardCfg handler passes attacker-controlled tz input through Uci_Set_Str, which uses snprintf to splice it into a uci command before CsteSystem ultimately invokes execv. No authentication is required, and successful exploitation grants command execution on the router, enabling data access, modification, or service interruption.
Summary
What happened
Command injection in TOTOLINK X6000R firmware 9.4.0cu.852_20230719 allows remote attackers to execute commands via a crafted tz value. The setWizardCfg handler passes attacker-controlled tz input through Uci_Set_Str, which uses snprintf to splice it into a uci command before CsteSystem ultimately invokes execv. No authentication is required, and successful exploitation grants command execution on the router, enabling data access, modification, or service interruption.
The record
- CVE
- CVE-2024-1781
- Published
- Feb 23, 2024
- Updated
- Apr 22, 2025
- Vendor
- TOTOLINK
- Product
- X6000R
- Classifications
- CWE-77, T1059.004
- Attack vector
- adjacent
- Privileges
- unauthenticated
Timeline
How it unfolded
- Feb 23, 2024CVE publishedPublication date reported by the CVE source.
- Apr 22, 2025Record 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=9.4.0cu.852_20230719
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
- Icycu123 CVE-2024-1781 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