Bug 2158420 (CVE-2022-23552)

Summary: CVE-2022-23552 grafana: persistent xss in grafana core plugins
Product: [Other] Security Response Reporter: Avinash Hanwate <ahanwate>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: agerstmayr, amctagga, aoconnor, bniver, dfreiber, flucifre, gcovolo, gmeno, gparvin, grafana-maint, jburrell, jkurik, jwendell, mbenjamin, mhackett, nathans, njean, owatkins, pahickey, rcernich, rogbas, sostapov, stcannon, teagle, vereddy, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Grafana 8.5.19, Grafana 9.2.8.2, Grafana 9.3.2.2 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in The GeoMap and Canvas plugins of Grafana. The GeoMap and Canvas plugins are core plugins in Grafana, which means that all Grafana instances have GeoMap and Canvas installed. These two plugins are vulnerable to Cross-site scripting, where an attacker with an Editor role can add an SVG file containing malicious JavaScript code. The Javascript is executed when a user with an admin role later edits the GeoMap/Canvas panel.
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: 2158486, 2166183    
Bug Blocks: 2158263    

Description Avinash Hanwate 2023-01-05 11:22:19 UTC
The GeoMap and Canvas plugins are core plugins in Grafana, which means that all Grafana instances have GeoMap and Canvas installed. These two plugins are vulnerable to Cross-Site-Scripting where an attacker with an Editor role can add an SVG file containing malicious JavaScript code. When a user with an admin role later edits the GeoMap/Canvas panel, the Javascript is executed.

Comment 2 Avinash Hanwate 2023-02-01 05:14:33 UTC
Created grafana tracking bugs for this issue:

Affects: fedora-all [bug 2166183]

Comment 6 errata-xmlrpc 2023-11-07 08:16:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2023:6420 https://access.redhat.com/errata/RHSA-2023:6420