Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WAF Detection Option #4147

Closed
ResistanceIsUseless opened this issue Sep 13, 2023 · 0 comments · Fixed by #6028
Closed

Add WAF Detection Option #4147

ResistanceIsUseless opened this issue Sep 13, 2023 · 0 comments · Fixed by #6028
Assignees
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Milestone

Comments

@ResistanceIsUseless
Copy link

It would be nice to have an option outside of templates to detect a WAF to stop false positives for more generic templates. For example if the template only relies on the status code being 200 it will most likely run into false positives. (I honestly don't know too many templates that do this, but there are a few)

A simple but usually effective way to detect a WAF is to generate a unique path like /o87ohbhjbvbkjbvklj and if it responds with 200 or 302 its probably a WAF.

I'm thinking adding an argument to run in WAF detection mode will add an add hoc check to templates that adds the WAF check's response as a negative detection pattern. Adding the whole WAF check template patterns would work too if the WAF has enabled the custom content page, that seems like a lot of work for a small ROI unless someone really cares about also fingerprinting the WAF.

References:

@ResistanceIsUseless ResistanceIsUseless added the Type: Enhancement Most issues will probably ask for additions or changes. label Sep 13, 2023
@Ice3man543 Ice3man543 linked a pull request Feb 6, 2025 that will close this issue
4 tasks
@Ice3man543 Ice3man543 self-assigned this Feb 6, 2025
@ehsandeep ehsandeep added this to the Nuclei v3.3.9 milestone Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants