Bug 2131149 (CVE-2022-39229) - CVE-2022-39229 grafana: using email as a username can block other users from signing in
Summary: CVE-2022-39229 grafana: using email as a username can block other users from ...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-39229
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2131263 2131191 2131192 2133062 2133063 2133064 2134701 2134937
Blocks: 2131159
TreeView+ depends on / blocked
 
Reported: 2022-09-30 05:51 UTC by TEJ RATHI
Modified: 2023-06-15 16:01 UTC (History)
43 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Grafana web application. When a user logs into the system, either the username or email address can be used. However, the login system allows both a username and connected email to be registered, which could allow an attacker to prevent a user which has an associated email address access.
Clone Of:
Environment:
Last Closed: 2023-05-16 18:33:42 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:2167 0 None None None 2023-05-09 07:13:43 UTC
Red Hat Product Errata RHSA-2023:2784 0 None None None 2023-05-16 08:12:18 UTC
Red Hat Product Errata RHSA-2023:3642 0 None None None 2023-06-15 16:01:11 UTC

Description TEJ RATHI 2022-09-30 05:51:41 UTC
CVE-2022-39229: Using email as a username can block other users from signing in 

Currently, a user’s username and email address are unique fields, that means no other user can have the same username or email address as another user. A user can have an email address as a username.

However, the login system allows users to log in with either username or email address. Since we allow a user to log in with either their username or email address, this creates an unusual behavior where user_1 can register with one email address and user_2 can register his username as user_1’s email address.

This prevents user_1 from logging into the application since user_1 password won’t match with users_2 email address.
This is a moderate severity security issue because it can stop a user from logging into the system.

Affected versions: Grafana <= 9.1.x

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

Affects: fedora-all [bug 2134701]

Comment 8 Sage McTaggart 2022-12-21 23:31:25 UTC
Closing as won't fix.

Comment 9 Sage McTaggart 2022-12-21 23:32:11 UTC
Woops, reopening

Comment 19 errata-xmlrpc 2023-05-09 07:13:40 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

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

Comment 20 errata-xmlrpc 2023-05-16 08:12:15 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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

Comment 21 Product Security DevOps Team 2023-05-16 18:33:39 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2022-39229

Comment 22 errata-xmlrpc 2023-06-15 16:01:07 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


Note You need to log in before you can comment on or make changes to this bug.