Back to bug 2149436

Who When What Removed Added
Anten Skrabec 2022-11-29 21:52:36 UTC Depends On 2149440, 2149437, 2149439, 2149438
Anten Skrabec 2022-11-29 21:52:57 UTC CC agerstmayr, bdettelb, gparvin, grafana-maint, jcantril, jkurik, mwringe, nathans, njean, owatkins, pahickey, periklis, scox, stcannon, teagle
Sandipan Roy 2022-11-30 04:06:56 UTC CC jburrell, vkumar
Sandipan Roy 2022-11-30 04:07:19 UTC Depends On 2149531
Jan Kurik 2022-11-30 08:51:05 UTC Doc Type --- If docs needed, set a value
Paige Jung 2022-11-30 15:34:50 UTC Doc Text Prometheus and its exporters can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication.

Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password back.

However, a flaw in the way this mechanism was implemented in the exporter toolkit makes it possible with people who know the hashed password to authenticate against Prometheus.

A request can be forged by an attacker to poison the internal cache used to cache the computation of hashes and make subsequent requests successful. This cache is used in both happy and unhappy scenarios in order to limit side channel attacks that could tell an attacker if a user is present in the file or not.
A flaw was found in exporter-toolkit. A request can be forged by an attacker to poison the internal cache used to cache hashes and make subsequent successful requests. This cache is used to limit side channel attacks that could tell an attacker if a user is present in the file or not. Prometheus and its exporters can be secured by a web.yml file that specifies usernames and hashed passwords for basic authentication. Passwords are hashed with bcrypt, which means that even if you have access to the hash, it is very hard to find the original password. However, due to the way this mechanism was implemented in the exporter toolkit, if the hashed password is known, it is possible to authenticate against Prometheus.
Summary CVE-2022-46146 expoter-toolkit: authentication bypass via cache poisoning CVE-2022-46146 exporter-toolkit: authentication bypass via cache poisoning
Sage McTaggart 2022-12-09 21:10:32 UTC CC aoconnor, kshier, rbobbitt, yguenane
errata-xmlrpc 2023-05-10 14:44:15 UTC Link ID Red Hat Product Errata RHSA-2023:2110
errata-xmlrpc 2023-05-17 22:31:08 UTC Link ID Red Hat Product Errata RHSA-2023:1326
Product Security DevOps Team 2023-05-18 04:31:36 UTC Resolution --- ERRATA
Status NEW CLOSED
Last Closed 2023-05-18 04:31:36 UTC

Back to bug 2149436