PT-2024-9965 · Nuclei · Nuclei
Guygoldenberg
·
Published
2024-09-04
·
Updated
2025-03-12
·
CVE-2024-43405
CVSS v3.1
7.4
High
| Vector | AV:L/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions:
Nuclei versions 3.0.0 through 3.3.1
Description:
A vulnerability in Nuclei's template signature verification system could allow an attacker to bypass the signature check and possibly execute malicious code via custom code template. The vulnerability is present in the template signature verification process, specifically in the
signer package. It stems from a discrepancy between how the signature verification process and the YAML parser handle newline characters, combined with the way multiple signatures are processed. This allows an attacker to inject malicious content into a template while maintaining a valid signature for the benign part of the template. CLI users are affected if they execute custom code templates from unverified sources, and SDK users are affected if they permit the execution of custom code templates by end-users.Recommendations:
For versions 3.0.0 through 3.3.1, update to Nuclei version 3.3.2 or later to mitigate the security risk. As an interim measure, refrain from using custom templates if unable to upgrade immediately, and only execute trusted, verified templates. If unable to upgrade Nuclei, disable running custom code templates as a workaround.
Exploit
Fix
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Nuclei