CVE-2024-40641

Unsigned code template execution through workflows in projectdiscovery/nuclei

Published Jul 17, 2024 CVSS 3.1 · 7.4 High EPSS < 1% KEV · Not listed
Description
Nuclei is a fast and customizable vulnerability scanner based on simple YAML based DSL. In affected versions it a way to execute code template without -code option and signature has been discovered. Some web applications inherit from Nuclei and allow users to edit and execute workflow files. In this case, users can execute arbitrary commands. (Although, as far as I know, most web applications use -t to execute). This issue has been addressed in version 3.3.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2317 Nuclei is a fast and customizable vulnerability scanner based on simple YAML based DSL. In affected versions it a way to execute code template without -code option and signature has been discovered. Some web applications inherit from Nuclei and allow users to edit and execute workflow files. In this case, users can execute arbitrary commands. (Although, as far as I know, most web applications use -t to execute). This issue has been addressed in version 3.3.0. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Github GHSA Github GHSA GHSA-c3q9-c27p-cw9h projectdiscovery/nuclei allows unsigned code template execution through workflows
History
Type Values Removed Values Added
CPEs cpe:2.3:a:projectdiscovery:nuclei:3.0.0:*:*:*:*:*:*:*
Vendors & Products Projectdiscovery
Projectdiscovery nuclei
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 13, 2024, 8:55 PM
Reserved
Jul 8, 2024, 4:13 PM
Status
Deferred
Published
Jul 17, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:46 AM