Description
Nuclei versions before 3.11.1 cache template signature verification based only on file modification time without content checksums. Attackers can replace verified templates with unsigned malicious content and restore the original modification time to bypass signature checks and execute arbitrary operating system commands.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| projectdiscovery | nuclei | 3.7.0 – < 3.11.1 | 3.11.1 |
References
- GitHub Issue #7663 issue-tracking
- https://github.com/projectdiscovery/nuclei product
- https://github.com/projectdiscovery/nuclei/blob/v3.11.0/pkg/templates/compile.go#L610-L624 technical-description
- https://github.com/projectdiscovery/nuclei/blob/v3.11.0/pkg/catalog/index/metadata.go#L78-L84 technical-description
- https://github.com/projectdiscovery/nuclei/commit/9de96e4dda5a03da963b9ae6582f03ea55791a76 patch
- VulnCheck Advisory: Nuclei from 3.7.0 before 3.11.1 Template Signature Bypass via Modification-Time-Only Cache third-party-advisory