Skip to content

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

MediumCVSS 6.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

23 packages: 14 fixed, 8 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/icingaweb2(Ubuntu 16.04) = 2.1.0-1ubuntu1; = 2.1.0-1ubuntu1.1; = 2.1.0-1ubuntu1.2; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 18.04) = 2.4.1-1; = 2.4.1-1ubuntu0.1; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 20.04) = 2.7.1-1; = 2.7.3-1; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 22.04) = 2.8.2-2; = 2.9.3-1; = 2.9.4-1; = 2.9.5-1 +1 more No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 24.04) = 2.11.4-3; = 2.12.0-1; = 2.12.1-1; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 25.10) = 2.12.2-1; = 2.12.4-1; = 2.12.4-2; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 26.04) = 2.12.4-2; = 2.12.5-1; = 2.12.6-1; All versions No fix listed No fix yet
ubuntu/icingaweb2(Ubuntu 26.10) = 2.12.6-1; = 2.13.0-1; = 2.14.0-1; All versions No fix listed No fix yet
alpine/icingaweb2(Alpine v3.15) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.16) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.17) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.18) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.19) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.20) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.21) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.22) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.23) < 2.9.0-r0 2.9.0-r0 Fixed
alpine/icingaweb2(Alpine v3.24) < 2.9.0-r0 2.9.0-r0 Fixed
debian/icingaweb2(Debian 12) < 2.8.4-1 2.8.4-1 Fixed
debian/icingaweb2(Debian 13) < 2.8.4-1 2.8.4-1 Fixed
debian/icingaweb2(Debian 14) < 2.8.4-1 2.8.4-1 Fixed
icinga >= 2.0.0, < 2.7.5; >= 2.8.0, < 2.8.3 2.7.5, 2.8.3 Fixed
icingaweb2 = >= 2.0.0, <= 2.8.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/icingaweb2(Debian:12) < 2.8.4-1 2.8.4-1
debian/icingaweb2(Debian:13) < 2.8.4-1 2.8.4-1
debian/icingaweb2(Debian:14) < 2.8.4-1 2.8.4-1
ubuntu/icingaweb2(Ubuntu:22.04) All versions No fix listed
icinga >= 2.0.0, < 2.7.5 2.7.5
icinga >= 2.8.0, < 2.8.3 2.8.3
alpine/icingaweb2(Alpine:v3.15) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.16) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.17) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.18) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.19) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.20) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.21) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.22) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.23) < 2.9.0-r0 2.9.0-r0
alpine/icingaweb2(Alpine:v3.24) < 2.9.0-r0 2.9.0-r0
ubuntu/icingaweb2(Ubuntu:24.04) All versions No fix listed
ubuntu/icingaweb2(Ubuntu:26.04) All versions No fix listed
icingaweb2 = >= 2.0.0, <= 2.8.2 No fix listed
ubuntu/icingaweb2(Ubuntu:26.10) All versions No fix listed
ubuntu/icingaweb2(Ubuntu:16.04) All versions No fix listed
ubuntu/icingaweb2(Ubuntu:16.04) = 2.1.0-1ubuntu1 No fix listed
ubuntu/icingaweb2(Ubuntu:16.04) = 2.1.0-1ubuntu1.1 No fix listed
ubuntu/icingaweb2(Ubuntu:16.04) = 2.1.0-1ubuntu1.2 No fix listed
ubuntu/icingaweb2(Ubuntu:18.04) All versions No fix listed
Show 22 more
ProductAffected versionsFixed in
ubuntu/icingaweb2(Ubuntu:18.04) = 2.4.1-1 No fix listed
ubuntu/icingaweb2(Ubuntu:18.04) = 2.4.1-1ubuntu0.1 No fix listed
ubuntu/icingaweb2(Ubuntu:20.04) All versions No fix listed
ubuntu/icingaweb2(Ubuntu:20.04) = 2.7.1-1 No fix listed
ubuntu/icingaweb2(Ubuntu:20.04) = 2.7.3-1 No fix listed
ubuntu/icingaweb2(Ubuntu:22.04) = 2.8.2-2 No fix listed
ubuntu/icingaweb2(Ubuntu:22.04) = 2.9.3-1 No fix listed
ubuntu/icingaweb2(Ubuntu:22.04) = 2.9.4-1 No fix listed
ubuntu/icingaweb2(Ubuntu:22.04) = 2.9.5-1 No fix listed
ubuntu/icingaweb2(Ubuntu:24.04) = 2.11.4-3 No fix listed
ubuntu/icingaweb2(Ubuntu:24.04) = 2.12.0-1 No fix listed
ubuntu/icingaweb2(Ubuntu:24.04) = 2.12.1-1 No fix listed
ubuntu/icingaweb2(Ubuntu:25.10) All versions No fix listed
ubuntu/icingaweb2(Ubuntu:25.10) = 2.12.2-1 No fix listed
ubuntu/icingaweb2(Ubuntu:25.10) = 2.12.4-1 No fix listed
ubuntu/icingaweb2(Ubuntu:25.10) = 2.12.4-2 No fix listed
ubuntu/icingaweb2(Ubuntu:26.10) = 2.12.6-1 No fix listed
ubuntu/icingaweb2(Ubuntu:26.10) = 2.13.0-1 No fix listed
ubuntu/icingaweb2(Ubuntu:26.10) = 2.14.0-1 No fix listed
ubuntu/icingaweb2(Ubuntu:26.04) = 2.12.4-2 No fix listed
ubuntu/icingaweb2(Ubuntu:26.04) = 2.12.5-1 No fix listed
ubuntu/icingaweb2(Ubuntu:26.04) = 2.12.6-1 No fix listed

References