CVEfocus › CVE database › CVE-2021-32747

CVE-2021-32747Custom variable protection and blacklists can be circumvented

CVSS 5.3 MediumEPSS 1.4% (higher than 72% of CVEs)Published 2021-07-12Updated 2024-08-03Assigner: GitHub_M

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.

CWE-200

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending
3Under investigation
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10icingaweb2Fix pendingUBUNTU-CVE-2021-32747
Ubuntu 26.04icingaweb2Under investigationUBUNTU-CVE-2021-32747
Ubuntu 25.10icingaweb2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32747
Ubuntu 24.04icingaweb2Under investigationUBUNTU-CVE-2021-32747
Ubuntu 22.04icingaweb2Under investigationUBUNTU-CVE-2021-32747
Ubuntu 20.04icingaweb2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32747
Ubuntu 18.04icingaweb2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32747
Ubuntu 16.04icingaweb2Will not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32747
Debian 14icingaweb2Fixed2.8.4-1DEBIAN-CVE-2021-32747
Debian 13icingaweb2Fixed2.8.4-1DEBIAN-CVE-2021-32747
Debian 12icingaweb2Fixed2.8.4-1DEBIAN-CVE-2021-32747
Alpine Linux 3.24icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.23icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.22icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.21icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.20icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.19icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.18icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.17icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.16icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747
Alpine Linux 3.15icingaweb2Fixed2.9.0-r0ALPINE-CVE-2021-32747

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.