Cyber Resilience

CVE-2024-29974

Zyxel Nas326 Firmware ≤ 5.21\(aazf.17\)c0

Public PoC
Published
04 June 2024
Modified
22 January 2025
Patch / advisory
CVSS Score v3.1 9.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.23 98th percentile
Risk Priority 91 floored blend · peak EPSS

Summary

CVE-2024-29974 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Zyxel Nas326 Firmware. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to SI-3 (Malicious Code Protection) and CM-7 (Least Functionality) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2024-29974 is a remote code execution vulnerability in the file_upload-cgi CGI program present in Zyxel NAS326 firmware versions prior to V5.21(AAZF.17)C0 and NAS542 firmware versions prior to V5.21(ABAG.14)C0. The flaw, assigned CWE-434, permits an unauthenticated attacker to upload a crafted configuration file that results in arbitrary code execution on the device. It carries a CVSS 3.1 score of 9.8 reflecting network-accessible attack complexity that is low with no required credentials or user interaction.

An unauthenticated remote attacker can exploit the issue over the network by sending a malicious configuration file to the vulnerable CGI endpoint, achieving full control over the affected NAS device including the ability to read, modify, or delete data and disrupt availability.

Zyxel’s security advisory and related analysis from Outpost24 state that the affected firmware versions should be updated to the corrected releases V5.21(AAZF.17)C0 for NAS326 and V5.21(ABAG.14)C0 for NAS542; the CVE entry itself is flagged as unsupported when assigned, indicating the devices are beyond the vendor’s support lifecycle.

The associated EPSS score has reached a peak of 0.4760 with a current value of 0.4371, indicating substantial and sustained exploitation interest following disclosure.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

** UNSUPPORTED WHEN ASSIGNED ** The remote code execution vulnerability in the CGI program “file_upload-cgi” in Zyxel NAS326 firmware versions before V5.21(AAZF.17)C0 and NAS542 firmware versions before V5.21(ABAG.14)C0 could allow an unauthenticated attacker to execute arbitrary code by uploading a…

more

crafted configuration file to a vulnerable device.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505 Server Software Component Persistence
Adversaries may abuse legitimate extensible development features of servers to establish persistent access to systems.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
T1059 Command and Scripting Interpreter Execution
Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.
T1105 Ingress Tool Transfer Command And Control
Adversaries may transfer tools or other files from an external system into a compromised environment.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-29972Same product: Zyxel Nas326
CVE-2024-6342Same product: Zyxel Nas326
CVE-2023-4473Same product: Zyxel Nas326
CVE-2023-37928Same product: Zyxel Nas326
CVE-2023-35138Same product: Zyxel Nas326
CVE-2024-29973Same product: Zyxel Nas326
CVE-2023-37927Same product: Zyxel Nas326
CVE-2023-5372Same product: Zyxel Nas326
CVE-2023-4474Same product: Zyxel Nas326
CVE-2023-35137Same product: Zyxel Nas326

Affected Assets

zyxel
nas326 firmware
≤ 5.21\(aazf.17\)c0
zyxel
nas542 firmware
≤ 5.21\(abag.14\)c0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V5.1.1

Mitigating Controls (NIST 800-53 r5) AI

Malicious-code protection at entry points blocks dangerous file types from being accepted and executed.

Least functionality restricts the file types and automatic processing capabilities the system will accept.

SC-18 Mobile Code partial match

Mobile-code controls define, authorize, and block unacceptable uploaded code before automatic processing occurs.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-05 mostly match
prevents

Restricting execution of unauthorized software directly blocks dangerous uploaded files from running.

PR.PS-01 partial match
prevents

Hardened configuration baselines can enforce allowed file types and processing rules.

PR.PS-06 partial match
prevents

Secure development practices include input validation and file-type restrictions that prevent this weakness.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

finds

Configuration and acceptance testing verify that file-upload handling enforces allowed types and does not permit dangerous content to be stored or executed.

prevents

Secure-coding guidelines and security testing explicitly address restrictions on allowed file types and upload handling, reducing the risk that dangerous file uploads are accepted without validation.

prevents

Mandated testing for malicious content and known vulnerabilities reduces the likelihood that an outsourced component will contain or accept dangerous file types that could later be uploaded or executed.

mitigates

Application allow-listing and pre-use scanning of received files directly blocks the introduction of executable content that has not been vetted, eliminating the primary vector for unrestricted dangerous file uploads.

References