CVE-2024-29974

Zyxel NAS326 firmware: Unrestricted Upload of File with Dangerous Type

9.8 critical EPSS 22.7%

Published 4 Jun 2024 Updated 2 Aug 2024 CNA: Zyxel

Description

** 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 crafted configuration file to a vulnerable device.

Severity (CVSS)

9.8 critical CVSS 3.1 from Zyxel (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 22.7%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 97.7% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 4 Jun 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-434 Unrestricted Upload of File with Dangerous Type

Affected products

As the CNA lists them.

ProductVersions
NAS326 firmware
affected < V5.21(AAZF.17)C0
Other versions: unaffected
NAS542 firmware
affected < V5.21(ABAG.14)C0
Other versions: unaffected

Is my server affected?

This CVE is in NAS326 firmware of Zyxel, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.

Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.

References

Advisories

Other references

Source: the record CVE-2024-29974 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.