Merge pull request #3727 from evanRubinsteinIT/pollbot-redirect

Added pollbot-redirect
patch-1
Prince Chaddha 2022-02-22 13:56:25 +05:30 committed by GitHub
commit d5b600a2a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,26 @@
id: pollbot-redirect
info:
name: Mozilla Pollbot Services - Unauthenticated Open Redirect
author: Evan Rubinstien
severity: medium
description: Mozilla has a medium severity open redirect vulnerability in pollbot that could be used for social engineering attaks.
reference:
- https://bugzilla.mozilla.org/show_bug.cgi?id=1753838
- https://github.com/mozilla/PollBot
tags: redirect,mozilla,pollbot
requests:
- method: GET
path:
- '{{BaseURL}}/%0A/example.com/'
matchers-condition: and
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)example\.com\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1
- type: status
status:
- 301