The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-40891

CVE-2024-40891: Zyxel VMG1312-B10A Auth Bypass Flaw

CVE-2024-40891 is an authentication bypass vulnerability in Zyxel VMG1312-B10A firmware that allows attackers to circumvent authentication controls. This article covers technical details, affected versions, and mitigation.

Updated: May 15, 2026

CVE-2024-40891 Overview

CVE-2024-40891 is a post-authentication command injection vulnerability affecting legacy Zyxel DSL Customer Premises Equipment (CPE) devices. The flaw resides in management commands accessible via Telnet on the affected firmware. An authenticated attacker can inject and execute arbitrary operating system commands on the underlying Linux platform. Zyxel marked these products as UNSUPPORTED WHEN ASSIGNED, meaning they have reached end-of-life and will not receive firmware patches. The vulnerability is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, confirming active in-the-wild exploitation. The flaw is tracked under CWE-78 (OS Command Injection).

Critical Impact

Authenticated attackers can execute arbitrary OS commands via Telnet, leading to full device compromise and potential pivoting into internal networks.

Affected Products

  • Zyxel VMG series: VMG1312-B10A/B10B/B10E, VMG3312-B10A, VMG3313-B10A, VMG3926-B10B, VMG4325-B10A, VMG4380-B10A, VMG8324-B10A, VMG8924-B10A
  • Zyxel SBG series: SBG3300-N000, SBG3300-NB00, SBG3500-N000, SBG3500-NB00
  • Reference firmware: VMG4325-B10A version 1.00(AAFR.4)C0_20170615

Discovery Timeline

  • 2025-02-04 - CVE CVE-2024-40891 published to NVD
  • 2025-02-04 - Zyxel publishes Zyxel Security Advisory
  • 2025-10-27 - Last updated in NVD database

Technical Details for CVE-2024-40891

Vulnerability Analysis

The vulnerability is a classic OS command injection flaw exposed through the Telnet management interface on legacy Zyxel DSL gateways. Once a user authenticates to the device's command-line management shell, certain administrative commands pass user-controlled input to underlying shell execution without proper sanitization. An attacker can append shell metacharacters such as ;, |, or backticks to embed additional commands. These commands execute with the privileges of the management process, which on embedded Zyxel CPE firmware is typically root. Because the affected models are end-of-life, no official firmware update will be released for this CVE.

Root Cause

The root cause is improper neutralization of special elements used in an OS command [CWE-78]. The management CLI builds shell command strings by concatenating user-supplied parameters into commands passed to system() or equivalent invocations. The firmware does not validate input against an allowlist or escape shell metacharacters, allowing arbitrary commands to be appended to legitimate management operations.

Attack Vector

Exploitation requires network access to TCP port 23 (Telnet) and valid credentials for the device's management account. Combined with weak or default credentials commonly found on legacy CPE deployments, the authentication barrier is low in practice. Attackers reach affected devices over the Internet when the Telnet service is exposed on the WAN interface. Once authenticated, the attacker issues a crafted management command containing injected shell syntax, gaining persistent command execution on the device. This enables botnet recruitment, traffic interception, DNS hijacking, and lateral movement into the LAN behind the gateway.

Detection Methods for CVE-2024-40891

Indicators of Compromise

  • Unexpected inbound TCP connections to port 23 (Telnet) on WAN-exposed Zyxel CPE devices
  • Outbound connections from the gateway to known Mirai or IoT botnet command-and-control infrastructure
  • DNS configuration changes on the CPE or modified firewall rules added without administrator action
  • Unusual processes spawning from the device management daemon, such as wget, tftp, or busybox child processes downloading remote payloads

Detection Strategies

  • Inspect network flow data for Telnet sessions to internal CPE devices, especially from external IP addresses
  • Correlate authentication logs from the CPE with command execution patterns containing shell metacharacters (;, &&, |, backticks)
  • Hunt for new outbound connections originating from gateway IP addresses to non-ISP destinations on uncommon ports

Monitoring Recommendations

  • Enable syslog forwarding from Zyxel CPE devices to a centralized SIEM and alert on management CLI command execution
  • Monitor for changes to device firmware version strings and configuration checksums to identify tampering
  • Track CISA KEV updates for additional indicators related to active exploitation campaigns targeting Zyxel legacy DSL hardware

How to Mitigate CVE-2024-40891

Immediate Actions Required

  • Replace affected end-of-life Zyxel VMG and SBG devices with currently supported hardware, as Zyxel will not issue patches for these models
  • Disable the Telnet service on all affected devices and restrict management to the LAN interface only
  • Rotate all administrative credentials and remove any default or shared accounts on the device
  • Place affected devices behind a firewall that blocks inbound access to TCP port 23 from untrusted networks

Patch Information

No firmware patch is available. Zyxel has marked the affected DSL CPE models as UNSUPPORTED WHEN ASSIGNED in the Zyxel Security Advisory. The vendor recommends replacing legacy hardware with current-generation supported models. The CVE remains listed in the CISA Known Exploited Vulnerabilities catalog, requiring federal agencies to mitigate by removing affected devices from networks.

Workarounds

  • Disable Telnet management on both WAN and LAN interfaces through the device administration console
  • Apply ACLs at the upstream router or ISP boundary to block TCP/23 traffic to CPE management addresses
  • Segment vulnerable CPE devices onto an isolated VLAN with no access to sensitive internal resources
  • Enforce strong, unique administrative passwords to raise the authentication barrier required for exploitation
bash
# Configuration example - disable Telnet and restrict management access
# From the Zyxel CLI:
ip telnet server disable
ip telnet server rule 1 deny wan

# Upstream firewall rule to block inbound Telnet to CPE management IPs:
iptables -A FORWARD -p tcp --dport 23 -d <cpe_mgmt_ip> -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechZyxel

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability53.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CISA KEV Information
  • In CISA KEVYes
  • CWE References
  • CWE-78
  • Technical References
  • CISA Known Exploited Vulnerabilities
  • Vendor Resources
  • Zyxel Security Advisory
  • Related CVEs
  • CVE-2026-7255: Zyxel WRE6505 Auth Bypass Vulnerability

  • CVE-2025-13943: Zyxel EX3301-T0 Auth Bypass Vulnerability

  • CVE-2025-0890: Zyxel VMG4325-B10A Auth Bypass Vulnerability

  • CVE-2020-29583: Zyxel USG20-VPN Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English