CVE-2021-32747
Custom variable protection and blacklists can be circumvented
Check your servers for CVE-2021-32747
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-32747 affects icingaweb2, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Icinga Web 2 is an open source monitoring web interface, framework, and command-line interface. A vulnerability in which custom variables are exposed to unauthorized users exists between versions 2.0.0 and 2.8.2. Custom variables are user-defined keys and values on configuration objects in Icinga 2. These are commonly used to reference secrets in other configurations such as check commands to be able to authenticate with a service being checked. Icinga Web 2 displays these custom variables to logged in users with access to said hosts or services. In order to protect the secrets from being visible to anyone, it's possible to setup protection rules and blacklists in a user's role. Protection rules result in `***` being shown instead of the original value, the key will remain. Backlists will hide a custom variable entirely from the user. Besides using the UI, custom variables can also be accessed differently by using an undocumented URL parameter. By adding a parameter to the affected routes, Icinga Web 2 will show these columns additionally in the respective list. This parameter is also respected when exporting to JSON or CSV. Protection rules and blacklists however have no effect in this case. Custom variables are shown as-is in the result. The issue has been fixed in the 2.9.0, 2.8.3, and 2.7.5 releases. As a workaround, one may set up a restriction to hide hosts and services with the custom variable in question.
Severity (CVSS)
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 1.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 72.9% of all scored CVEs. Scores of 1 Dec 2026.
Weakness
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| icingaweb2 |
affected >= 2.0.0, <= 2.8.2
|
Is my server affected?
Find the installed version of icingaweb2 and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i icingaweb2
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2021-32747 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2021-32747RHEL, Rocky, Alma, Fedora
rpm -q icingaweb2
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2021-32747Alpine
apk list --installed | grep -i icingaweb2With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-32747
trivy image --scanners vuln IMAGE | grep CVE-2021-32747
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
Other references
- https://github.com/Icinga/icingaweb2/releases/tag/v2.7.5 github.com
- https://github.com/Icinga/icingaweb2/releases/tag/v2.8.3 github.com
- https://github.com/Icinga/icingaweb2/releases/tag/v2.9.0 github.com
Source: the record CVE-2021-32747 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse