Authenticated command execution via unfiltered Telnet commands
Published Feb 4, 2025 · Updated Oct 21, 2025
OS command injection in Zyxel VMG4325-B10A firmware 1.00(AAFR.4)C0_20170615 allows remote authenticated users to execute commands via Telnet. The libcms_cli.so command path accepts utilities such as ping or tftp by prefix alone, then passes the complete unfiltered string to runCommandInShell. Any account reaches the flaw, but Telnet and WAN access are disabled by default; shell metacharacters grant unrestricted command execution when enabled.
Summary
What happened
OS command injection in Zyxel VMG4325-B10A firmware 1.00(AAFR.4)C0_20170615 allows remote authenticated users to execute commands via Telnet. The libcms_cli.so command path accepts utilities such as ping or tftp by prefix alone, then passes the complete unfiltered string to runCommandInShell. Any account reaches the flaw, but Telnet and WAN access are disabled by default; shell metacharacters grant unrestricted command execution when enabled.
The record
- CVE
- CVE-2024-40891
- Published
- Feb 4, 2025
- Updated
- Oct 21, 2025
- Vendor
- Zyxel Networks
- Product
- VMG4325-B10A firmware
- Classifications
- CWE-78, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jan 21, 2025Exploitation reportedMirai exploitation of Zyxel CPE devices
- Feb 4, 2025CVE publishedPublication date reported by the CVE source.
- Feb 11, 2025Exploitation reportedCISA Known Exploited Vulnerabilities catalog listing
- Oct 21, 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=<= 1.00(AAFR.4)C0_20170615
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
- VulnCheck Telnet command-injection demonstrationfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Mirai exploitation of Zyxel CPE devicesbotnet
- CISA Known Exploited Vulnerabilities catalog listingknown exploited catalog
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