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

Possible Bug at Regex based Passively Scanning #27

Closed
arbazkiraak opened this issue Feb 14, 2019 · 1 comment
Closed

Possible Bug at Regex based Passively Scanning #27

arbazkiraak opened this issue Feb 14, 2019 · 1 comment

Comments

@arbazkiraak
Copy link

arbazkiraak commented Feb 14, 2019

With reference to #26

There is an wierd bug while performming regex based Passively checks on responses.

  • Sometimes it passively checks each and every requests & keeps creating issues based on patterns it detected (This is how it works).
  • Sometimes it stops in the middle of the checks.
    ex: BurpBounty - HTML-DOM Reflections [5] let's imagine it caught 5 issues so far then it will freeze here no matter how much u crawl or perform passive scanning against target.
  • Sometimes it doesn't initiate the scan itself (Highly possible when you have Multiple Regex Profiles under the directory.

To Reproduce the issue use the following Scan Patterns & Try the following 2 steps for around 5-6 times.

  1. Run Burp/ Crawl couple of sites. (Keep an eye on No if issues it created in scanner dashboard.)
  2. Then unload profile and load profile again.

Add some regex based patterns such as: in Grep set

  • Passively Response.

  • Grep Set Regex

ws(s)?:\/\/
document\.(URL|documentURI|URLUnencoded|baseURI|cookie|referrer)|location\.(href|search|hash|pathname)|window\.name|history\.(pushState|replaceState)(local|session)Storage
set(Timeout|Interval|Immediate)|execScript
ScriptElement\.(src|text|textContent|innerText)|.*?\.onEventName|document\.(write|writeln)
.*?\.innerHTML|Range\.createContextualFragment|(document|window)\.location
(eval|evaluate|execCommand|assign|navigate|getResponseHeaderopen|showModalDialog|Function|set(Timeout|Interval|Immediate)|execScript|crypto.generateCRMFRequest|ScriptElement\.(src|text|textContent|innerText))\(
  • Grep Options : Exclude HTTP headers
@wagiro
Copy link
Owner

wagiro commented Jun 20, 2019

Due to the inactivity of the issue.

@wagiro wagiro closed this as completed Jun 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants