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
    • 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-29973

CVE-2024-29973: Zyxel NAS326 Firmware RCE Vulnerability

CVE-2024-29973 is a command injection RCE flaw in Zyxel NAS326 firmware that lets unauthenticated attackers execute OS commands via the setCookie parameter. This article covers technical details, affected versions, and fixes.

Updated: January 22, 2026

CVE-2024-29973 Overview

CVE-2024-29973 is a critical command injection vulnerability affecting Zyxel NAS326 and NAS542 network-attached storage devices. The vulnerability exists in the setCookie parameter and allows unauthenticated attackers to execute arbitrary operating system commands by sending specially crafted HTTP POST requests. This vulnerability is particularly concerning as these products were unsupported when the vulnerability was assigned, meaning affected devices may not receive security patches.

Critical Impact

Unauthenticated remote attackers can achieve full system compromise by executing arbitrary OS commands on vulnerable Zyxel NAS devices, potentially leading to data theft, ransomware deployment, or use of the device as a pivot point for lateral movement within the network.

Affected Products

  • Zyxel NAS326 firmware versions before V5.21(AAZF.17)C0
  • Zyxel NAS542 firmware versions before V5.21(ABAG.14)C0
  • Zyxel NAS326 hardware devices
  • Zyxel NAS542 hardware devices

Discovery Timeline

  • June 4, 2024 - CVE-2024-29973 published to NVD
  • January 22, 2025 - Last updated in NVD database

Technical Details for CVE-2024-29973

Vulnerability Analysis

This command injection vulnerability (CWE-78) resides in the web management interface of affected Zyxel NAS devices. The vulnerability is exploitable remotely over the network without requiring any authentication or user interaction, making it an extremely dangerous attack vector for internet-exposed NAS devices.

The flaw occurs due to insufficient input validation and sanitization of the setCookie parameter in HTTP POST requests processed by the device's web server. When an attacker provides malicious input containing OS command sequences, the vulnerable code passes this input directly to a system shell for execution, allowing arbitrary command execution with the privileges of the web service—typically root on embedded devices.

This vulnerability is part of a series of security flaws discovered in Zyxel NAS products and documented in Outpost24's technical blog post. A proof-of-concept exploit is publicly available, significantly increasing the risk of exploitation in the wild.

Root Cause

The root cause of CVE-2024-29973 is improper input validation (CWE-78: Improper Neutralization of Special Elements used in an OS Command). The setCookie parameter handling code fails to sanitize user-supplied input before incorporating it into system commands. Special shell metacharacters such as semicolons, pipes, backticks, or command substitution sequences are not properly escaped or filtered, allowing attackers to break out of the intended command context and inject arbitrary commands.

Attack Vector

The attack is conducted over the network via HTTP POST requests to the device's web management interface. The attacker crafts a malicious request containing OS command injection payloads within the setCookie parameter. Since the vulnerability requires no authentication, any attacker with network access to the device's management interface can exploit this flaw.

The attack flow involves:

  1. Identifying an exposed Zyxel NAS326 or NAS542 device
  2. Crafting an HTTP POST request with malicious command injection payload in the setCookie parameter
  3. Sending the request to the device's web interface
  4. The vulnerable firmware executes the injected commands with elevated privileges

Technical details and exploitation techniques are documented in the Outpost24 security research and a proof-of-concept repository is publicly available.

Detection Methods for CVE-2024-29973

Indicators of Compromise

  • Unexpected HTTP POST requests to the NAS web management interface containing special characters or shell metacharacters in the setCookie parameter
  • Anomalous process execution on the NAS device, particularly shells spawned by the web server process
  • Unusual outbound network connections from the NAS device to unknown external hosts
  • New or modified files in system directories, cron jobs, or startup scripts on the NAS device
  • Evidence of data exfiltration or unauthorized access to stored files

Detection Strategies

  • Deploy web application firewall (WAF) rules to detect and block command injection patterns in HTTP POST parameters
  • Monitor NAS device logs for suspicious web requests containing shell metacharacters such as ;, |, $(), or backticks in cookie-related parameters
  • Implement network-based intrusion detection signatures for known CVE-2024-29973 exploit patterns
  • Conduct regular vulnerability scanning of network-attached storage devices to identify unpatched firmware versions

Monitoring Recommendations

  • Enable verbose logging on NAS devices and forward logs to a centralized SIEM for analysis
  • Monitor for unexpected process creation or command execution patterns on NAS devices using endpoint detection tools
  • Set up alerts for network traffic anomalies involving NAS devices, including unusual ports or destinations
  • Regularly audit device firmware versions against the known vulnerable versions (< V5.21(AAZF.17)C0 for NAS326 and < V5.21(ABAG.14)C0 for NAS542)

How to Mitigate CVE-2024-29973

Immediate Actions Required

  • Update Zyxel NAS326 firmware to version V5.21(AAZF.17)C0 or later immediately
  • Update Zyxel NAS542 firmware to version V5.21(ABAG.14)C0 or later immediately
  • Restrict network access to the NAS management interface to trusted IP addresses only
  • Place NAS devices behind a firewall and disable remote management access from the internet
  • Conduct a security audit of affected devices to check for signs of compromise before and after patching

Patch Information

Zyxel has released security patches addressing this vulnerability. Organizations should apply the following firmware updates:

  • NAS326: Update to firmware version V5.21(AAZF.17)C0 or later
  • NAS542: Update to firmware version V5.21(ABAG.14)C0 or later

Note that these products were marked as unsupported when this CVE was assigned. Organizations using these devices should verify patch availability and consider replacement with supported hardware. Detailed patch information is available in the Zyxel Security Advisory.

Workarounds

  • If patching is not immediately possible, disable the web management interface entirely or restrict access via firewall rules to only trusted administrator IPs
  • Implement network segmentation to isolate NAS devices from untrusted network segments and the internet
  • Deploy an application-layer firewall or reverse proxy in front of the NAS management interface to filter malicious requests
  • Consider replacing unsupported NAS devices with currently supported models that receive regular security updates
  • Monitor network traffic to and from NAS devices for suspicious activity as an interim measure
bash
# Example firewall rules to restrict NAS management access (iptables)
# Replace 192.168.1.100 with your NAS IP and 192.168.1.0/24 with trusted admin network

# Allow management access only from trusted network
iptables -A INPUT -p tcp -d 192.168.1.100 --dport 80 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp -d 192.168.1.100 --dport 443 -s 192.168.1.0/24 -j ACCEPT

# Block all other management access
iptables -A INPUT -p tcp -d 192.168.1.100 --dport 80 -j DROP
iptables -A INPUT -p tcp -d 192.168.1.100 --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechZyxel

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability94.08%

  • Known ExploitedYes
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Outpost24 Blog on Zyxel Vulnerabilities
  • Vendor Resources
  • Zyxel Security Advisory for NAS Products
  • Related CVEs
  • CVE-2025-13942: Zyxel WX5610-B0 Firmware RCE Vulnerability

  • CVE-2026-1459: Zyxel VMG8623-T50B Firmware RCE Flaw

  • CVE-2025-11730: Zyxel Firewall DDNS Command Injection

  • CVE-2025-7673: Zyxel EMG3525-T50B Firmware RCE 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