PT-2021-4011 · Icingadb+4 · Icingadb+7
Julianbrost
·
Published
2021-07-15
·
Updated
2024-11-16
·
CVE-2021-32743
CVSS v2.0
9.0
High
| Vector | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Name of the Vulnerable Software and Affected Versions
Icinga versions prior to 2.11.10
Icinga versions 2.12.0 through 2.12.4
Description
The issue concerns the exposure of credentials for external services through the API to authenticated API users with read permissions for the corresponding object types. Specifically,
IdoMysqlConnection and IdoPgsqlConnection expose the password of the user used to connect to the database, IcingaDB exposes the password used to connect to the Redis server, and ElasticsearchWriter 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.Recommendations
For Icinga versions prior to 2.11.10, update to version 2.11.10 or later to resolve the issue.
For Icinga versions 2.12.0 through 2.12.4, update to version 2.12.5 or later to resolve the issue.
As a temporary workaround, restrict API user permissions 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.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Elasticsearch
Elasticsearchwriter
Icinga
Icingadb
Idomysqlconnection
Idopgsqlconnection
Redis
Suse