diff --git a/vulnerabilities/other/sap-redirect.yaml b/vulnerabilities/other/sap-redirect.yaml new file mode 100644 index 0000000000..4a715d0eb6 --- /dev/null +++ b/vulnerabilities/other/sap-redirect.yaml @@ -0,0 +1,26 @@ +id: sap-redirect + +info: + name: SAP wide open redirect + author: Gal Nagli + severity: medium + tags: redirect + + +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