CVE-2021-41174

Published on: 11/03/2021 12:00:00 AM UTC

Last Modified on: 11/29/2021 05:13:00 PM UTC

CVE-2021-41174 - advisory for GHSA-3j9m-hcv9-rpj8

Source: Mitre Source: Nist Print: PDF PDF
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:N

Certain versions of Grafana from Grafana contain the following vulnerability:

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.

  • CVE-2021-41174 has been assigned by URL Logo [email protected] to track the vulnerability - currently rated as MEDIUM severity.
  • Affected Vendor/Software: URL Logo grafana - grafana version >= 8.0.0, < 8.2.3

CVSS3 Score: 6.1 - MEDIUM

Attack
Vector
Attack
Complexity
Privileges
Required
User
Interaction
NETWORK LOW NONE REQUIRED
Scope Confidentiality
Impact
Integrity
Impact
Availability
Impact
CHANGED LOW LOW NONE

CVSS2 Score: 4.3 - MEDIUM

Access
Vector
Access
Complexity
Authentication
NETWORK MEDIUM NONE
Confidentiality
Impact
Integrity
Impact
Availability
Impact
NONE PARTIAL NONE

CVE References

Description Tags Link
Merge pull request #146 from grafana/oscark/sanitize-nav-links · grafana/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/grafana/grafana/commit/31b78d51c693d828720a5b285107a50e6024c912
Merge pull request #151 from grafana/dcech/sanitize-replaceAll · grafana/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/grafana/grafana/commit/3cb5214fa45eb5a571fd70d6c6edf0d729983f82
Merge pull request #147 from grafana/axelav/sanitized-nav-links-8-2-3 · grafana/[email protected] · GitHub github.com
text/html
URL Logo MISC github.com/grafana/grafana/commit/fb85ed691290d211a5baa44d9a641ab137f0de88
XSS vulnerability allowing arbitrary JavaScript execution · Advisory · grafana/grafana · GitHub github.com
text/html
URL Logo CONFIRM github.com/grafana/grafana/security/advisories/GHSA-3j9m-hcv9-rpj8
CVE-2021-41174 Grafana Vulnerability in NetApp Products | NetApp Product Security security.netapp.com
text/html
URL Logo CONFIRM security.netapp.com/advisory/ntap-20211125-0003/

Related QID Numbers

  • 690739 Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (4b478274-47a0-11ec-bd24-6c3be5272acd)
  • 730253 Grafana Enterprise Cross-Site Scripting (XSS) Vulnerability
  • 980006 Nodejs (npm) Security Update for @grafana/data (GHSA-3j9m-hcv9-rpj8)

Known Affected Configurations (CPE V2.3)

Type Vendor Product Version Update Edition Language
ApplicationGrafanaGrafanaAllAllAllAll
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*:

Social Mentions

Source Title Posted (UTC)
Twitter Icon @feedpushr Grafana 8.2.3 released with medium severity security fix: CVE-2021-41174 Grafana XSS grafana.com/blog/2021/11/0… 2021-11-03 14:12:06
Twitter Icon @NicolaiBuchwitz hey @grafana the link to the blog post in the current 8.2.3 release notes is broken and should be pointing to grafana.com/blog/2021/11/0… 2021-11-03 16:13:38
Twitter Icon @oss_security CVE-2021-41174 Grafana XSS vulnerability: Posted by Daniel Lee on Nov 03Today we are releasing Grafana 8.2.3. This… twitter.com/i/web/status/1… 2021-11-03 17:14:02
Twitter Icon @CVEreport CVE-2021-41174 : #Grafana is an open-source platform for monitoring and observability. In affected versions if an a… twitter.com/i/web/status/1… 2021-11-03 18:02:53
Twitter Icon @threatmeter Grafana AngularJS Rendering cross site scripting [CVE-2021-41174] A vulnerability classified as problematic has bee… twitter.com/i/web/status/1… 2021-11-04 07:50:59
Twitter Icon @Har_sia CVE-2021-41174 har-sia.info/CVE-2021-41174… #HarsiaInfo 2021-11-04 15:02:04
Reddit Logo Icon /r/grafana Grafana 8.2.3 released with medium severity security fix: CVE-2021-41174 Grafana XSS 2021-11-03 20:26:47
© CVE.report 2022 Twitter Nitter Twitter Viewer |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report