CVE Vulnerabilities

CVE-2021-32743

Exposure of Sensitive Information Through Data Queries

Published: Jul 15, 2021 | Modified: Dec 06, 2021
CVSS 3.x
8.8
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
6.5 MEDIUM
AV:N/AC:L/Au:S/C:P/I:P/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

When trying to keep information confidential, an attacker can often infer some of the information by using statistics.

Affected Software

Name Vendor Start Version End Version
Icinga Icinga 2.0.0 (including) 2.11.10 (excluding)
Icinga Icinga 2.12.0 (including) 2.12.5 (excluding)
Icinga2 Ubuntu bionic *
Icinga2 Ubuntu groovy *
Icinga2 Ubuntu hirsute *
Icinga2 Ubuntu impish *
Icinga2 Ubuntu kinetic *
Icinga2 Ubuntu lunar *
Icinga2 Ubuntu mantic *
Icinga2 Ubuntu trusty *
Icinga2 Ubuntu xenial *

Potential Mitigations

References