Added template for open-redirect-url-redirect

This commit is contained in:
sophavinly
-
parent 606558879e
commit 0ddddcdbd8

View File

@@ -0,0 +1,29 @@
id: open-redirect-url-redirect
info:
name: Open Redirect in url_redirect Parameter
author: ProjectDiscoveryAI
severity: medium
description: |
This template detects open redirect vulnerabilities in the `url_redirect` parameter, which can potentially redirect users to malicious websites.
tags: open-redirect
http:
- raw:
- |
GET /example?url_redirect=https://evil.com HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
regex:
- "https://evil\\.com"
part: header
- type: word
words:
- "302 Found"
part: body
- type: status
status:
- 302