RCE in Projectdiscovery Nuclei

CVE-2024-40641

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.

Vulnerability class: Command Injection (OS Command Injection)

EPSS: 0.003 (23.9th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.4 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-40641?
CVE-2024-40641 is a high-severity vulnerability in Projectdiscovery Nuclei, classified under OS Command Injection. CVSS score: 7.4/10. Published 2024-07-17.
How severe is CVE-2024-40641?
High severity. CVSS v3 base score is 7.4 out of 10.