UBUNTU-CVE-2021-40904

Source
https://ubuntu.com/security/CVE-2021-40904
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40904.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-40904
Upstream
Published
2022-03-25T23:15:00Z
Modified
2025-10-24T04:50:34Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - low
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:Pro:16.04:LTS / check-mk

Package

Name
check-mk
Purl
pkg:deb/ubuntu/check-mk@1.2.6p12-1ubuntu0.16.04.1+esm1?arch=source&distro=esm-apps/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.6p5-1
1.2.6p12-1
1.2.6p12-1ubuntu0.16.04.1
1.2.6p12-1ubuntu0.16.04.1+esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "check-mk-agent",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-agent-logwatch",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-config-icinga",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-config-nagios3",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-livestatus",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-multisite",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        },
        {
            "binary_name": "check-mk-server",
            "binary_version": "1.2.6p12-1ubuntu0.16.04.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40904.json"

Ubuntu:18.04:LTS / check-mk

Package

Name
check-mk
Purl
pkg:deb/ubuntu/check-mk@1.2.8p16-1ubuntu0.2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.2.8p16-1ubuntu0.1
1.2.8p16-1ubuntu0.2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "check-mk-agent",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        },
        {
            "binary_name": "check-mk-agent-logwatch",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        },
        {
            "binary_name": "check-mk-config-icinga",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        },
        {
            "binary_name": "check-mk-livestatus",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        },
        {
            "binary_name": "check-mk-multisite",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        },
        {
            "binary_name": "check-mk-server",
            "binary_version": "1.2.8p16-1ubuntu0.2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40904.json"