CVE-2021-32743 Passwords used to access external services inadvertently exposed through API
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
Icinga is a monitoring system which checks the availability of network resources, notifies users of outages, and generates performance data for reporting. In versions prior to 2.11.10 and from version 2.12.0 through version 2.12.4, some of the Icinga 2 features that require credentials for external services expose those credentials through the API to authenticated API users with read permissions for the corresponding object types. IdoMysqlConnection and IdoPgsqlConnection (every released version) exposes the password of the user used to connect to the database. IcingaDB (added in 2.12.0) exposes the password used to connect to the Redis server. ElasticsearchWriter (added in 2.8.0)exposes the password used to connect to the Elasticsearch server. An attacker who obtains these credentials can impersonate Icinga to these services and add, modify and delete information there. If credentials with more permissions are in use, this increases the impact accordingly. Starting with the 2.11.10 and 2.12.5 releases, these passwords are no longer exposed via the API. As a workaround, API user permissions can be restricted to not allow querying of any affected objects, either by explicitly listing only the required object types for object query permissions, or by applying a filter rule.
Upgrade path
14 packages: 4 fixed, 8 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/icinga2(Ubuntu 16.04) | = 2.3.8-1build1; = 2.3.11-1; = 2.4.0-1; = 2.4.1-1 +3 more | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 18.04) | = 2.7.0-1; = 2.8.1-0ubuntu2; All versions | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 20.04) | = 2.10.5-1build1; = 2.11.2-1; = 2.11.2-1ubuntu1; = 2.11.2-1ubuntu2 +2 more | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 22.04) | = 2.12.3-1; = 2.13.1-1; = 2.13.2-1; = 2.13.2-1build1 +2 more | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 24.04) | = 2.13.8-1; = 2.14.1-1; = 2.14.2-1; = 2.14.2-1build1 +2 more | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 25.10) | = 2.14.5-1; = 2.14.6-1; = 2.15.0-1; All versions | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 26.04) | = 2.15.0-1; = 2.15.1-1; All versions | No fix listed | No fix yet |
| ubuntu/icinga2(Ubuntu 26.10) | = 2.15.1-1; = 2.16.1-1; = 2.16.3-1; = 2.16.4-1build1 +2 more | No fix listed | No fix yet |
| debian/icinga2(Debian 12) | < 2.12.5-1 | 2.12.5-1 | Fixed |
| debian/icinga2(Debian 13) | < 2.12.5-1 | 2.12.5-1 | Fixed |
| debian/icinga2(Debian 14) | < 2.12.5-1 | 2.12.5-1 | Fixed |
| icinga | >= 2.0.0, < 2.11.10; >= 2.12.0, < 2.12.5 | 2.11.10, 2.12.5 | Fixed |
| debian linux | = 9.0 | No fix listed | Versions listed |
| icinga2 | = < 2.11.10; = >= 2.12.0, <= 2.12.4 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/icinga2(Debian:12) | < 2.12.5-1 | 2.12.5-1 |
| debian/icinga2(Debian:13) | < 2.12.5-1 | 2.12.5-1 |
| debian/icinga2(Debian:14) | < 2.12.5-1 | 2.12.5-1 |
| ubuntu/icinga2(Ubuntu:22.04) | All versions | No fix listed |
| icinga | >= 2.0.0, < 2.11.10 | 2.11.10 |
| icinga | >= 2.12.0, < 2.12.5 | 2.12.5 |
| debian linux | = 9.0 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:26.04) | All versions | No fix listed |
| icinga2 | = < 2.11.10 | No fix listed |
| icinga2 | = >= 2.12.0, <= 2.12.4 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.3.8-1build1 | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.3.11-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.4.0-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.4.1-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.4.1-2 | No fix listed |
| ubuntu/icinga2(Ubuntu:16.04) | = 2.4.1-2ubuntu1 | No fix listed |
| ubuntu/icinga2(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:18.04) | = 2.7.0-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:18.04) | = 2.8.1-0ubuntu2 | No fix listed |
| ubuntu/icinga2(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:20.04) | = 2.10.5-1build1 | No fix listed |
| ubuntu/icinga2(Ubuntu:20.04) | = 2.11.2-1 | No fix listed |
Show 24 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/icinga2(Ubuntu:20.04) | = 2.11.2-1ubuntu1 | No fix listed |
| ubuntu/icinga2(Ubuntu:20.04) | = 2.11.2-1ubuntu2 | No fix listed |
| ubuntu/icinga2(Ubuntu:20.04) | = 2.11.2-1ubuntu3 | No fix listed |
| ubuntu/icinga2(Ubuntu:22.04) | = 2.12.3-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:22.04) | = 2.13.1-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:22.04) | = 2.13.2-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:22.04) | = 2.13.2-1build1 | No fix listed |
| ubuntu/icinga2(Ubuntu:22.04) | = 2.13.2-1build2 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | = 2.13.8-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | = 2.14.1-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | = 2.14.2-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | = 2.14.2-1build1 | No fix listed |
| ubuntu/icinga2(Ubuntu:24.04) | = 2.14.2-1build2 | No fix listed |
| ubuntu/icinga2(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/icinga2(Ubuntu:25.10) | = 2.14.5-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:25.10) | = 2.14.6-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:25.10) | = 2.15.0-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | = 2.15.1-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | = 2.16.1-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | = 2.16.3-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | = 2.16.4-1build1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.10) | = 2.16.5-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.04) | = 2.15.0-1 | No fix listed |
| ubuntu/icinga2(Ubuntu:26.04) | = 2.15.1-1 | No fix listed |
References
- Debian Security Tracker CVE-2021-32743 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com exploit issue-tracking third-party-advisory
- icinga.com exploit issue-tracking vendor-advisory
- [debian-lts-announce] 20211110 [SECURITY] [DLA 2816-1] icinga2 security update mailing-list third-party-advisory
- lists.debian.org
- bugs.debian.org issue-tracking