CVE-2023-1387: Infoleak

Published Apr 12, 2023
·
Updated

Grafana is an open-source platform for monitoring and observability.

Starting with the 9.1 branch, Grafana introduced the ability to search for a JWT in the URL query parameter authtoken and use it as the authentication token.

By enabling the "urllogin" configuration option (disabled by default), a JWT might be sent to data sources. If an attacker has access to the data source, the leaked token could be used to authenticate to Grafana.

Other sources

Where an attacker has control on a datasource, the JWT token can be leaked to the data source when the GFAUTHJWTURLTOKEN is set to true.

References:

https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/jwt/?mkttok=MzU2LVlGRy0zODkAAAGLFetKhj7bubnwJdat7dsOUsknnKYqQ9qYPFzMoSlKt-Q2six9bJNYh9F9jYhkMcc7sxuZgchs7ypuWq1wvGij0ouoSHS40eCT0UURdmmvRo#url-login

Red Hat

Affected Software

4 affected componentsFixes available
redhat/grafana<9.5.0
9.5.0
Grafana Grafana>=9.1.0<9.2.17
Grafana Grafana>=9.3.0<9.3.13
Grafana Grafana>=9.4.0<9.4.9

Event History

Apr 26, 2023
CVE Published
via MITRE·01:47 PM
Data Sourced
via MITRE·01:47 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this Grafana vulnerability?

The vulnerability ID for this Grafana vulnerability is CVE-2023-1387.

2

What is the description of this Grafana vulnerability?

Grafana introduced the ability to search for a JWT in the URL query parameter auth_token and use it as the authentication token, which can be exploited by an attacker.

3

What is the severity of CVE-2023-1387?

The severity of CVE-2023-1387 is high.

4

How can an attacker exploit this vulnerability?

An attacker can exploit this vulnerability by searching for a JWT in the URL query parameter auth_token and using it as the authentication token.

5

Are there any references for CVE-2023-1387?

Yes, there are references for CVE-2023-1387. You can find them at the following links: [link1](https://github.com/grafana/bugbounty/security/advisories/GHSA-5585-m9r5-p86j), [link2](https://grafana.com/security/security-advisories/cve-2023-1387/), [link3](https://security.netapp.com/advisory/ntap-20230609-0003/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203