CVE-2021-40905: CheckMK Enterprise Edition - Remote Code Execution
- Cve: CVE-2021-40905
- Name: CheckMK Enterprise Edition - Remote Code Execution
- Description: The web management console of CheckMK Enterprise Edition (versions 1.5.0 to 2.0.0p9) does not properly sanitise the uploading of ".mkp" files, which are Extension Packages, making remote code execution possible. Successful exploitation requires access to the web management interface, either with valid credentials or with a hijacked session of a user with administrator role. NOTE: the vendor states that this is the intended behavior: admins are supposed to be able to execute code in this manner.
- Impact: Attackers can execute arbitrary code on the server, potentially leading to full system compromise.
- Remediation: Update to the latest version where this issue is fixed or apply vendor-recommended security patches.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs access with valid credentials or hijacked admin session
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Epss score: 0.03027
- Epss percentile: 0.87811
- Assignee: [email protected]
- Published at: 2022-03-25T23:15:08Z
- Age in days: 1705
- Modified at: 2026-07-09T01:17:02Z
- Patch available: yes
- Public exploits total: 1
- References total: 2
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-40905
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/Edgarloyola/CVE-2021-40905 | nvd | 2022-03-25 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/Edgarloyola/CVE-2021-40905 | nvd | Exploit, Third Party Advisory |
| https://docs.checkmk.com/latest/en/mkps.html | nvd |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| checkmk:checkmk | = 2.0.0 p17, = 2.0.0 p16, = 2.0.0 p15, = 2.0.0 p14, = 2.0.0 p13, = 2.0.0 p12, = 2.0.0 p11, = 2.0.0 p10, = 2.0.0 p9, = 2.0.0 b8, = 2.0.0 p8, = 2.0.0 b7, = 2.0.0 p7, = 2.0.0 b6, = 2.0.0 p6, = 2.0.0 b5, = 2.0.0 p5, = 2.0.0 b4, = 2.0.0 p4, = 2.0.0 b3, = 2.0.0 p3, = 2.0.0, = 2.0.0 b1, = 2.0.0 b2, = 2.0.0 i1, = 2.0.0 p1, = 2.0.0 p2 | no | nvd | /v1/products/checkmk/checkmk |
| tribe29:checkmk | >= 1.5.0, < 2.0.0 | no | nvd | /v1/products/tribe29/checkmk |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-03-25
- Remote: yes
- Exposed hosts: 7
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports