CVE-2021-42559: CALDERA - Command Injection
- Cve: CVE-2021-42559
- Name: CALDERA - Command Injection
- Description: An issue was discovered in CALDERA 2.8.1. It contains multiple startup "requirements" that execute commands when starting the server. Because these commands can be changed via the REST API, an authenticated user can insert arbitrary commands that will execute when the server is restarted.
- Impact: Authenticated users can execute arbitrary commands on server restart, potentially leading to remote code execution or system compromise.
- Remediation: Implement proper validation and restrictions on startup commands, and restrict API access to authorized users.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to be an authenticated user
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02021
- Epss percentile: 0.81352
- Assignee: [email protected]
- Published at: 2022-01-12T20:15:08Z
- Age in days: 1777
- Modified at: 2026-06-17T04:09:49Z
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-42559
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2021-42559-Command%20Injection%20Via%20Configurations-MITRE%20Caldera | nvd | 2022-01-12 |
| https://github.com/mbadanoiu/CVE-2021-42559 | poc-in-github | 2024-06-09 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2021-42559-Command%20Injection%20Via%20Configurations-MITRE%20Caldera | nvd | Exploit, Third Party Advisory |
| https://github.com/mitre/caldera/releases | nvd | Release Notes |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| mitre:caldera | <= 2.8.1 | no | nvd | /v1/products/mitre/caldera |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| mitre/caldera | releases | yes | /v1/repositories/mitre/caldera |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-01-12
- Remote: yes
- Authentication required: yes
- Exposed hosts: 888
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports