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

29 lines
618 B
YAML

id: sap-redirect
info:
name: SAP wide open redirect
author: Gal Nagli
severity: medium
description: A vulnerability in SAP's 'logoff' endpoint allows attackers to redirect victims to their URL of choice.
tags: redirect,sap
requests:
- method: GET
path:
- "{{BaseURL}}/sap/public/bc/icf/logoff?redirecturl=https://example.com"
matchers-condition: and
matchers:
- type: status
status:
- 302
- type: word
words:
- "Location: https://www.example.com"
- "Location: https://example.com"
condition: or
part: header