Bug 2131146 (CVE-2022-31130)

Summary: CVE-2022-31130 grafana: data source and plugin proxy endpoints leaking authentication tokens to some destination plugins
Product: [Other] Security Response Reporter: TEJ RATHI <trathi>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: agerstmayr, anstephe, aoconnor, avibelli, bgeorges, bniver, chazlett, clement.escoffier, dandread, dkreling, flucifre, gmeno, go-sig, gparvin, grafana-maint, gsmet, jburrell, jkurik, jochrist, jwon, lthon, mbenjamin, mhackett, nathans, njean, pahickey, peholase, pgallagh, pjindal, probinso, rruss, rsvoboda, sbiarozk, sostapov, stcannon, vereddy, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Grafana's use of the GitLab data source plugin, leaking the API key to gitlab. This can result in the destination plugin receiving a Grafana user's authentication token, which could be used by an attacker.
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: 2131260, 2131185, 2131186, 2133062, 2133063, 2133064, 2134707, 2134937    
Bug Blocks: 2131159    

Description TEJ RATHI 2022-09-30 05:51:31 UTC
CVE-2022-31130: Data source and plugin proxy endpoints leaking authentication tokens to some destination plugins 

A security researcher contacted Grafana Labs to disclose a vulnerability with the GitLab data source plugin that could leak the API key to GitLab. After further analysis the vulnerability impacts data source and plugin proxy endpoints with authentication tokens, as a result the destination plugin could receive a Grafana authentication token of the user.

Affected versions: Grafana <= 9.1.x

Comment 5 Marian Rehak 2022-10-14 05:39:30 UTC
Created grafana tracking bugs for this issue:

Affects: fedora-all [bug 2134707]

Comment 17 errata-xmlrpc 2023-06-15 16:01:06 UTC
This issue has been addressed in the following products:

  Red Hat Ceph Storage 6.1

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

Comment 19 errata-xmlrpc 2023-11-07 08:16:14 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