CVE-2022-21673

Vulnérabilité moyenne dans grafana (grafana)

CVSS 4.3 · Moyenne
EPSS 2.0%
grafana•grafana•Versions : >= 8.0.0, < 8.3.4, >= 7.2.0, < 7.5.13

Description

Grafana is an open-source platform for monitoring and observability. In affected versions when a data source has the Forward OAuth Identity feature enabled, sending a query to that datasource with an API token (and no other user credentials) will forward the OAuth Identity of the most recently logged-in user. This can allow API token holders to retrieve data for which they may not have intended access. This attack relies on the Grafana instance having data sources that support the Forward OAuth Identity feature, the Grafana instance having a data source with the Forward OAuth Identity feature toggled on, the Grafana instance having OAuth enabled, and the Grafana instance having usable API keys. This issue has been patched in versions 7.5.13 and 8.3.4.

Gravité et risque d'exploitation

CVE-2022-21673 obtient un score CVSS de 4.3/10, soit une gravité moyenne. Selon le modèle EPSS, la probabilité qu'elle soit exploitée dans les 30 prochains jours est de 2.00 %, ce qui la place devant 80.4 % des CVE référencées.

Que faire ?

  • Vérifiez si grafana (versions >= 8.0.0, < 8.3.4, >= 7.2.0, < 7.5.13) est présent sur votre parc.
  • Appliquez le correctif ou la version corrigée indiqués dans les références de l'éditeur.
  • À défaut de correctif, limitez l'exposition (filtrage réseau, désactivation du composant).
  • Automatisez la détection : les agents CVE Heimdall (gratuits, open source) corrèlent l'inventaire de vos serveurs avec la base CVE.

Références