Skip to content

CVE-2024-40641 Unsigned code template execution through workflows in projectdiscovery/nuclei

HighCVSS 7.4 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
ProjectDiscovery Nuclei(Go) < 3.3.0; All versions 3.3.0 Partially fixed
ProjectDiscovery Nuclei = >= 3.0.0, < 3.3.0; >= 3.0.0, < 3.3.0 3.3.0 Fixed

Affected products

ProductAffected versionsFixed in
ProjectDiscovery Nuclei(Go) < 3.3.0 3.3.0
ProjectDiscovery Nuclei(Go) All versions No fix listed
ProjectDiscovery Nuclei = >= 3.0.0, < 3.3.0 No fix listed
ProjectDiscovery Nuclei >= 3.0.0, < 3.3.0 3.3.0

References