JWT URL-login flow leaks token to data sources through request parameter in proxy requests

CVE ID: CVE-2023-1387

Date Published: April 26, 2023

Description:

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 auth_token and use it as the authentication token. By enabling the “url_login” 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.

Versions 9.5.1, 9.5.0, 9.4.9, 9.3.13 and 9.2.17 contain a fix for this issue.