CyberSecBulletin
CVE-2023-4822NVD status: Modified

Grafana Enterprise: Improper Privilege Management

CVE-2023-4822 is a high-severity improper privilege management vulnerability in Grafana Enterprise from Grafana, with a CVSS 3.1 base score of 7.2 out of 10. It can be exploited remotely over the network by an attacker with administrator privileges, without any action from a user. The record lists versions 9.4.16, 9.5.11, 10.0.7 as the first without the flaw, so updating Grafana Enterprise to one of those releases or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 1.26% chance of exploitation within 30 days, higher than 70% of scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Grafana Enterprise to 9.4.16 or 9.5.11 or 10.0.7 or 10.1.3, whichever matches your release line, or a later version.
  2. Update Grafana to 9.4.16 or 9.5.11 or 10.0.7 or 10.1.3, whichever matches your release line, or a later version.
  3. Read the advisory on grafana.com for workarounds and exact fixed builds.

Affected products and versions

VendorProductAffected versionsFixed in
GrafanaGrafana Enterprise8.0.0 up to, but not including, 9.4.16; 9.5.0 up to, but not including, 9.5.11; 10.0.0 up to, but not including, 10.0.7; 10.1.0 up to, but not including, 10.1.39.4.16, 9.5.11, 10.0.7, 10.1.3
GrafanaGrafana8.0.0 up to, but not including, 9.4.16; 9.5.0 up to, but not including, 9.5.11; 10.0.0 up to, but not including, 10.0.7; 10.1.0 up to, but not including, 10.1.3; 10.1.49.4.16, 9.5.11, 10.0.7, 10.1.3

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
HighAdministrator-level access is required first.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.16.7MediumCNA (grafana.com)
CVSS 3.17.2HighNVD

Official description

Grafana is an open-source platform for monitoring and observability. The vulnerability impacts Grafana instances with several organizations, and allows a user with Organization Admin permissions in one organization to change the permissions associated with Organization Viewer, Organization Editor and Organization Admin roles in all organizations. It also allows an Organization Admin to assign or revoke any permissions that they have to any user globally. This means that any Organization Admin can elevate their own permissions in any organization that they are already a member of, or elevate or restrict the permissions of any other user. The vulnerability does not allow a user to become a member of an organization that they are not already a member of, or to add any other users to an organization that the current user is not a member of.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Privilege Management

The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.

How developers prevent this class of flaw

  • Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
  • Follow the principle of least privilege when assigning access rights to entities in a software system.
  • Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.

More Improper Privilege Management vulnerabilities (CWE-269)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Other vulnerabilities in Grafana Enterprise

All Grafana Enterprise vulnerabilities

Recent Improper Privilege Management vulnerabilities

Spotted an error? Tell us.