SecurityContext

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

IdName
CWE-77Improper Neutralization of Special Elements used in a Command

Public exploits

UrlSourceAdded date
https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2021-42559-Command%20Injection%20Via%20Configurations-MITRE%20Calderanvd2022-01-12
https://github.com/mbadanoiu/CVE-2021-42559poc-in-github2024-06-09

References

UrlSourceTags
https://github.com/DrunkenShells/Disclosures/tree/master/CVE-2021-42559-Command%20Injection%20Via%20Configurations-MITRE%20CalderanvdExploit, Third Party Advisory
https://github.com/mitre/caldera/releasesnvdRelease Notes

Products

ProductAffectedPlatform boundSourcesUrl
mitre:caldera<= 2.8.1nonvd/v1/products/mitre/caldera

Projects

RepositoryLink kindsIndexedUrl
mitre/calderareleasesyes/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