nuclei-templates/vulnerabilities/other/pollbot-redirect.yaml

25 lines
749 B
YAML

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
tags: redirect,mozilla
requests:
- method: GET
path:
- '{{BaseURL}}/%oa/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