Lucene search

K
redhatcveRedhat.comRH:CVE-2023-22462
HistoryMar 02, 2023 - 9:29 a.m.

CVE-2023-22462

2023-03-0209:29:51
redhat.com
access.redhat.com
83
grafana
plugin
vulnerability
html
escalation
javascript
privilege

6.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

0.002 Low

EPSS

Percentile

64.5%

A flaw was found in the Grafana core plugin, “Text.” The vulnerability was possible due to React’s render cycle that will pass through unsanitized HTML code. However, the HTML is cleaned and saved in Grafana’s database in the next cycle. An attacker needs the Editor role in changing a Text panel to include JavaScript. Later, another user needs to edit the same Text panel and click “Markdown” or “HTML” to execute the code. This issue allows possible vertical privilege escalation, where a user with an Editor role can change to a known password for a user having an Admin role if the user with an Admin role executes malicious JavaScript viewing a dashboard.

6.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

LOW

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N

0.002 Low

EPSS

Percentile

64.5%