CVE-2024-2001: Cockpit CMS - Stored XSS
- Cve: CVE-2024-2001
- Name: Cockpit CMS - Stored XSS
- Description: A Cross-Site Scripting vulnerability in Cockpit CMS affecting version 2.7.0. This vulnerability could allow an authenticated user to upload an infected PDF file and store a malicious JavaScript payload to be executed when the file is uploaded.
- Impact: Authenticated users can execute arbitrary scripts on the server, potentially leading to session hijacking or further malicious actions.
- Remediation: Update to the latest version of Cockpit CMS or apply security patches that sanitize file uploads.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs to be logged in
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.00323
- Epss percentile: 0.25803
- Assignee: [email protected]
- Published at: 2024-02-29T14:15:45Z
- Age in days: 999
- Modified at: 2026-06-17T07:23:32Z
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-2001
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
References
| Url | Source | Tags |
|---|---|---|
| https://www.incibe.es/en/incibe-cert/notices/aviso/cross-site-scripting-vulnerability-cockpit-cms | nvd | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| agentejo:cockpit | = 2.7.0 | no | nvd | /v1/products/agentejo/cockpit |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| Cockpit-HQ/Cockpit | package | yes | /v1/repositories/Cockpit-HQ/Cockpit |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 14065
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports