cbcvebase.
CVE-2024-40891
published 2025-02-04

CVE-2024-40891: **UNSUPPORTED WHEN ASSIGNED** A post-authentication command injection vulnerability in the management commands of the legacy DSL CPE Zyxel VMG4325-B10A…

PriorityP189high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
KEVITW
CISA Known Exploited Vulnerabilitydue 2025-03-04
Exploited in the wild
EPSS
19.73%
97.1th percentile
**UNSUPPORTED WHEN ASSIGNED** A post-authentication command injection vulnerability in the management commands of the legacy DSL CPE Zyxel VMG4325-B10A firmware version 1.00(AAFR.4)C0_20170615 could allow an authenticated attacker to execute operating system (OS) commands on an affected device via Telnet.

Affected

1 ranges
VendorProductVersion rangeFixed in
zyxelvmg4325-b10a_firmware<= 1.00(AAFR.4)C0_20170615

Detection & IOCsextracted from sources · hover to see the quote

commandifconfig
commandping
commandtftp
pathlibcms_cli.so
snort
alert tcp any any -> $HOME_NET 23 (msg:"ET EXPLOIT Zyxel runCommandInShell Telnet Service Command Injection Attempt (CVE-2024-40891)"; flow:established,to_server; app-layer-protocol:telnet; pcre:"/^.*(?:cat|ifconfig|ping|ps|pwd|tftp|wlctl).*?(?:(?:\x3b|%3[Bb])|(?:\x0a|%0[Aa])|(?:\x60|%60)|(?:\x7c|%7[Cc])|(?:\x24|%24)|(?:\x26|%26))*?sh/"; content:"sh"; fast_pattern; reference:cve,2024-40891; reference:url,vulncheck.com/blog/zyxel-telnet-vulns; classtype:attempted-admin; sid:2060323; rev:2; metadata:affected_product Zyxel, attack_target Networking_Equipment, tls_state plaintext, created_at 2025_02_24, cve CVE_2024_40891, deployment Perimeter, deployment Internal, performance_impact Moderate, confidence Medium, signature_severity Major, tag Exploit, tag CISA_KEV, updated_at 2025_03_03, mitre_tactic_id TA0001, mitre_tactic_name Initial_Access, mitre_technique_id T1190, mitre_technique_name Exploit_Public_Facing_Application; target:dest_ip;)
  • Monitor for Telnet (TCP/23) traffic to Zyxel CPE management interfaces containing shell metacharacters (;, newline, backtick, |, $, &) appended to known injectable commands (cat, ifconfig, ping, ps, pwd, tftp, wlctl) followed by 'sh'.
  • Exploitation leverages service accounts 'supervisor' and/or 'zyuser' over Telnet; alert on Telnet authentication using these usernames.
  • Weak default credentials used in exploitation: admin:1234, zyuser:1234, supervisor:zyad1234. Alert on Telnet login attempts using these credential pairs against Zyxel CPE devices.
  • Significant overlap observed between IPs exploiting CVE-2024-40891 and Mirai botnet IPs; correlate exploitation attempts with known Mirai infrastructure.
  • The vulnerable code path is in libcms_cli.so; on-device forensics should look for unexpected execution chains originating from this library.
  • ·The vulnerability affects only legacy/EoL firmware; the specific confirmed vulnerable firmware version is 1.00(AAFR.4)C0_20170615 on VMG4325-B10A. Zyxel has confirmed no patch will be issued.
  • ·Exploitation is post-authentication via Telnet, but CVE-2025-0890 (default credentials) effectively makes this pre-auth in practice for devices with unchanged defaults.

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
vulncheck8.8HIGH
cisa8.8HIGH
CVEs like this are exactly what “Exploited This Week” covers.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.