Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2022-46146

Опубликовано: 29 нояб. 2022
Источник: redhat
CVSS3: 7.5

Описание

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.

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.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-loki-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/lokistack-gateway-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/opa-openshift-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-grafana-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/acm-prometheus-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/memcached-exporter-rhel9Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/node-exporter-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/prometheus-alertmanager-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/prometheus-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/rbac-query-proxy-rhel8Not affected

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-305
https://bugzilla.redhat.com/show_bug.cgi?id=2149436exporter-toolkit: authentication bypass via cache poisoning

7.5 High

CVSS3

Связанные уязвимости

CVSS3: 6.2
ubuntu
больше 2 лет назад

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.

CVSS3: 6.2
nvd
больше 2 лет назад

Prometheus Exporter Toolkit is a utility package to build exporters. Prior to versions 0.7.2 and 0.8.2, if someone has access to a Prometheus web.yml file and users' bcrypted passwords, they can bypass security by poisoning the built-in authentication cache. Versions 0.7.2 and 0.8.2 contain a fix for the issue. There is no workaround, but attacker must have access to the hashed password to use this functionality.

CVSS3: 8.8
msrc
10 месяцев назад

Описание отсутствует

CVSS3: 6.2
debian
больше 2 лет назад

Prometheus Exporter Toolkit is a utility package to build exporters. P ...

suse-cvrf
около 2 лет назад

Security update for golang-github-prometheus-prometheus

7.5 High

CVSS3