Fix: False Positives in CVE-2002-1131 (SquirrelMail Fingerprint)#15595
Merged
pussycat0x merged 6 commits intoprojectdiscovery:mainfrom Mar 17, 2026
Merged
Fix: False Positives in CVE-2002-1131 (SquirrelMail Fingerprint)#15595pussycat0x merged 6 commits intoprojectdiscovery:mainfrom
pussycat0x merged 6 commits intoprojectdiscovery:mainfrom
Conversation
Neo - Nuclei Template ReviewNo security issues found Highlights
Hardening Notes
Comment |
Contributor
|
Hi @Eren-Akdag, Thank you for updating this template with the community and for your contribution to this project. Your efforts are greatly appreciated. Cheers! |
Contributor
Author
|
Hi @pussycat0x, thanks! Happy to contribute 🙌 |
pussycat0x
approved these changes
Mar 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Information
This PR updates the
CVE-2002-1131(SquirrelMail 1.2.6/1.2.7 Cross-Site Scripting) nuclei template to address a significant False Positive issue.Motivation:
During our routine vulnerability scanning, we noticed that this template triggers False Positives against actual corporate assets or poorly-configured web endpoints (e.g., misconfigured proxies, custom SSO login portals, error default pages) that blindly echo back any user input appended to the URL as raw HTML content. Because the previous template solely relied on detecting the payload string (
</script><script>alert(document.domain)</script>) alongside a200 OKstatus and atext/htmlheader, these generic responses incorrectly triggered high-severity XSS alerts, even when the asset was completely unrelated to SquirrelMail.Solution Introduced:
To improve the fidelity of the template and align with ProjectDiscovery best practices, a Product Fingerprinting matcher has been introduced.
By ensuring the underlying technology is explicitly identified within the response body footprint, this change completely eliminates false positives caused by generic reflection, while ensuring there are zero false negatives against legitimate vulnerable targets.
http/cves/2002/CVE-2002-1131.yamlTemplate validation
Additional Details
Prior to this update, a typical reflection scenario causing a False Positive looked like this:
GET /src/addressbook.php?%3C%... HTTP/1.1Host: [REDACTED_CORPORATE_ASSET]HTTP/1.1 200 OKServer: nginxContent-Type: text/html...<input value="/SIPManagement/servlet?</script><script>alert(document.domain)</script>=" name="lastUrl" type="hidden">...As observed above, the payload is blindly reflected back inside a hidden input field of a completely different application. Since the word "SquirrelMail" is missing, the new template successfully skips this junk endpoint.
Debugging & Validation Flow:
None of the prerequisites are obligatory; they are merely intended to speed the review process.
Additional References: