Multiple vulnerabilities in Grafana



Published: 2022-06-16
Risk Medium
Patch available YES
Number of vulnerabilities 3
CVE-ID CVE-2022-21703
CVE-2022-21702
CVE-2022-21713
CWE-ID CWE-352
CWE-79
CWE-639
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Grafana
Web applications / Other software

Vendor Grafana Labs

Security Bulletin

This security bulletin contains information about 3 vulnerabilities.

1) Cross-site request forgery

EUVDB-ID: #VU64399

Risk: Medium

CVSSv3.1:

CVE-ID: CVE-2022-21703

CWE-ID: CWE-352 - Cross-Site Request Forgery (CSRF)

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin. A remote attacker can trick the victim into inviting the attacker as a new user with high privileges to escalate privileges.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Grafana: 8.3.0 - 8.3.4, 8.2.0 - 8.2.7, 8.1.0 - 8.1.8, 8.0.0 - 8.0.7, 7.5.0 - 7.5.13, 7.3.0 - 7.3.10, 7.4.0 - 7.4.5, 7.2.0 - 7.2.3, 7.1.0 - 7.1.5, 7.0.0 - 7.0.6


CPE2.3 External links

http://github.com/grafana/grafana/pull/45083
http://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
http://github.com/grafana/grafana/security/advisories/GHSA-cmf4-h3xc-jw8w
http://security.netapp.com/advisory/ntap-20220303-0005/
http://bugzilla.redhat.com/show_bug.cgi?id=2050742

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

2) Cross-site scripting

EUVDB-ID: #VU64397

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2022-21702

CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Exploit availability: No

Description

The disclosed vulnerability allows a remote attacker to perform cross-site scripting (XSS) attacks.

The vulnerability exists due to insufficient sanitization of user-supplied data in Grafana. A remote attacker can trick the victim to visit a specially crafted link, execute arbitrary HTML code, and perform a Cross-site scripting (XSS) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Grafana: 8.3.0 - 8.3.4, 8.2.0 - 8.2.7, 8.1.0 - 8.1.8, 8.0.0 - 8.0.7, 7.5.0 - 7.5.13, 7.3.0 - 7.3.10, 7.4.0 - 7.4.5, 7.2.0 - 7.2.3, 7.1.0 - 7.1.5, 7.0.0 - 7.0.6, 6.7.0 - 6.7.6, 6.6.0 - 6.6.2, 6.5 - 6.5.3, 6.4.0 - 6.4.5, 6.3.0 - 6.3.7, 6.2.0 - 6.2.5, 6.1.0 - 6.1.6, 6.0.0 - 6.0.2, 5.4.0 - 5.4.5, 5.3.0 - 5.3.4, 5.2.0 - 5.2.5, 5.1.0 - 5.1.5, 5.0.0 - 5.0.4, 4.6.0 - 4.6.5, 4.5.0 - 4.5.2, 4.3.0 - 4.3.2, 4.2.0 - 4.2.0 -, 4.1.0 - 4.1.2, 4.0.0 - 4.0.2, 4.4.0 - 4.4.3, 3.1.0 - 3.1.1, 3.0 - - 3.0.4, 2.0.0 - 2.0.2, 2.6.0 - 2.6.0 -, 2.5.0, 2.1.0 - 2.1.3


CPE2.3 External links

http://github.com/grafana/grafana/security/advisories/GHSA-xc3p-28hw-q24g
http://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
http://github.com/grafana/grafana/commit/27726868b3d7c613844b55cd209ca93645c99b85
http://bugzilla.redhat.com/show_bug.cgi?id=2050648

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?

3) Authorization bypass through user-controlled key

EUVDB-ID: #VU64394

Risk: Low

CVSSv3.1:

CVE-ID: CVE-2022-21713

CWE-ID: CWE-639 - Authorization Bypass Through User-Controlled Key

Exploit availability: No

Description

The vulnerability allows a remote user to gain access to sensitive information.

The vulnerability exists due to an Insecure Direct Object Reference (IDOR) error in Grafana Teams APIs. A remote authenticated user can view unintended data by querying for the specific team ID or search for teams and see the total number of available teams.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Grafana: 8.3.0 - 8.3.4, 8.2.0 - 8.2.7, 8.1.0 - 8.1.8, 8.0.0 - 8.0.7, 7.5.0 - 7.5.13, 7.4.0 - 7.4.5, 7.3.0 - 7.3.10, 7.2.0 - 7.2.3, 7.1.0 - 7.1.5, 7.0.0 - 7.0.6, 6.7.0 - 6.7.6, 6.6.0 - 6.6.2, 6.5 - 6.5.3, 6.4.0 - 6.4.5, 6.3.0 - 6.3.7, 6.2.0 - 6.2.5, 6.1.0 - 6.1.6, 6.0.0 - 6.0.2, 5.4.0 - 5.4.5, 5.3.0 - 5.3.4, 5.2.0 - 5.2.5, 5.1.0 - 5.1.5, 5.0.0 - 5.0.4


CPE2.3 External links

http://github.com/grafana/grafana/pull/45083
http://grafana.com/blog/2022/02/08/grafana-7.5.15-and-8.3.5-released-with-moderate-severity-security-fixes/
http://github.com/grafana/grafana/security/advisories/GHSA-63g3-9jq3-mccv
http://security.netapp.com/advisory/ntap-20220303-0005/
http://bugzilla.redhat.com/show_bug.cgi?id=2050743

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###