Bug 2019952 (CVE-2021-41174)

Summary: CVE-2021-41174 grafana: XSS vulnerability on unauthenticated pages through interpolation binding expressions for AngularJS in URL
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agerstmayr, anharris, anpicker, aos-bugs, bmontgom, bniver, eparis, flucifre, gmeno, gparvin, grafana-maint, hvyas, jburrell, jkurik, jwendell, mbenjamin, mhackett, nathans, nstielau, pahickey, puebele, rcernich, sostapov, spasquie, sponnaga, stcannon, twalsh, vereddy, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: grafana 8.2.3 Doc Type: If docs needed, set a value
Doc Text:
A cross-site scripting (XSS) vulnerability in grafana allows an attacker to execute arbitrary JavaScript code in the browser of a victim user. An attacker may send a link referencing a page where the victim is unauthenticated and contains the login button and including interpolation binding expressions (e.g. `{{` and `}}` in AngularJS) in the URL.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2022700    
Bug Blocks: 2019953    

Description Guilherme de Almeida Suckevicz 2021-11-03 17:08:34 UTC
A XSS vulnerability on unauthenticated pages was found in Grafana.

Reference:
https://www.openwall.com/lists/oss-security/2021/11/03/1

Comment 1 Riccardo Schirone 2021-11-04 10:42:32 UTC
Upstream patch:
https://github.com/grafana/grafana/compare/v8.2.2...v8.2.3