Cloudanix VulnDB

CVE-2021-40904

High · 8.8

CVSS

8.8

EPSS

3.7%

Published

Mar 25, 2022

CISA due date

—

Cloudanix analysis

Unrated SSVC: Track

A flaw in certain older software versions could let attackers break in, so updating to newer releases is needed to stay protected.

Exploit Available
Exploitation
Other
Attacker needs
Other
Complexity
Other
Impact
Other
Component
Other
Class
Other
Remediation
Other
Effort
Other
Patch risk
Other

What it actually does

The vulnerability permits exploitation of a flaw in affected php5 and checkmk components, enabling unauthorized actions at the technical level.

Why it matters to the business

Organizations using outdated versions face increased risk of compromise with moderate EPSS probability; the issue has been public for over four years with an available exploit, raising urgency for remediation in environments with high ecosystem prevalence.

How an attack unfolds

An attacker identifies instances of the vulnerable php5 or checkmk software, crafts inputs to trigger the flaw, and leverages the exploit to gain access or execute code.

How to fix it

Upgrade php5 (Debian:4.0) to 5.2.0-8+etch9 and checkmk/checkmk (GIT) to d5ccd5ecc956e665aca80f3c486f7fa46f409424 or later versions.

How to confirm the fix worked

Verify package versions match or exceed the fixed releases and test that the vulnerability is no longer reproducible.

Typical attack path

  1. Scan for affected php5 or checkmk installations
  2. Send malicious payload targeting the vulnerability
  3. Achieve initial access or code execution
  4. Escalate privileges or persist within the environment

How to detect it

Examine system logs and package inventories for signs of the vulnerable versions or post-exploitation activity related to the affected products.

What your security team should do

  • Prioritize patching affected systems given exploit availability and publication age
  • Monitor EPSS trends for any increase in exploitation likelihood
  • Review downstream dependencies for similar exposures

The record

The web management console of CheckMK Raw Edition (versions 1.5.0 to 1.6.0) allows a misconfiguration of the web-app Dokuwiki (installed by default), which allows embedded php code. As a result, remote code execution is achieved. Successful exploitation requires access to the web management interface, either with valid credentials or with a hijacked session by a user with the role of administrator.

Affected packages

Ecosystem Package Introduced Fixed
Ubuntu:18.04:LTS check-mk 0 No fix
Ubuntu:Pro:16.04:LTS check-mk 0 No fix
Ubuntu:Pro:18.04:LTS check-mk 0 No fix

Related vulnerabilities