1. Accueil
  2. Vulnérabilités
  3. CVE-2021-41174

CVE-2021-41174

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is…

Publiée le 3 nov. 2021 · modifiée le 17 juin 2026 · Sources : NVD, EPSS (FIRST)

Moyen 60/100

Résumé

Grafana is an open-source platform for monitoring and observability. In affected versions if an attacker is able to convince a victim to visit a URL referencing a vulnerable page, arbitrary JavaScript content may be executed within the context of the victim's browser. The user visiting the malicious link must be unauthenticated and the link must be for a page that contains the login button in the menu bar. The url has to be crafted to exploit AngularJS rendering and contain the interpolation binding for AngularJS expressions. AngularJS uses double curly braces for interpolation binding: {{ }} ex: {{constructor.constructor(‘alert(1)’)()}}. When the user follows the link and the page renders, the login button will contain the original link with a query parameter to force a redirect to the login page. The URL is not validated and the AngularJS rendering engine will execute the JavaScript expression contained in the URL. Users are advised to upgrade as soon as possible. If for some reason you cannot upgrade, you can use a reverse proxy or similar to block access to block the literal string {{ in the path.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Grafana (1 ligne(s))
Grafana
ProduitVersionsCorrigé dansSource
Grafana de 8.0.0 (inclus) à 8.2.3 (exclu) — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Grafana 8.0.0 <= v.8.2.2 - Angularjs Rendering Cross-Site Scriptingsource officielle

Modèle Nuclei

nuclei -u https://VOTRE-HOTE -t http/cves/2021/CVE-2021-41174.yaml

Source : Ouvrir

Chronologie

  1. — Publication de la CVE (cve)
  2. — Modèle de détection Nuclei (nuclei) date de première observation

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
NVD
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (CVSS 3.1, NVD)
Faiblesse
CWE-79 · Script intersite (XSS)

Comment sont obtenues et calculées ces données