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.
{
"cwe_ids": [
"CWE-200"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/1xxx/CVE-2023-1387.json",
"cna_assigner": "GRAFANA",
"unresolved_ranges": [
{
"extracted_events": [
{
"introduced": "9.1.0"
},
{
"fixed": "9.2.17"
},
{
"introduced": "9.3.0"
},
{
"fixed": "9.3.13"
},
{
"introduced": "9.4.0"
},
{
"fixed": "9.5.0"
},
{
"introduced": "9.1.0"
},
{
"fixed": "9.2.17"
},
{
"introduced": "9.3.0"
},
{
"fixed": "9.3.13"
},
{
"introduced": "9.4.0"
},
{
"fixed": "9.5.0"
}
],
"source": "AFFECTED_FIELD"
}
]
}{
"extracted_events": [
{
"introduced": "9.1.0"
},
{
"fixed": "9.2.17"
},
{
"introduced": "9.3.0"
},
{
"fixed": "9.3.13"
},
{
"introduced": "9.4.0"
},
{
"fixed": "9.4.9"
}
],
"source": "CPE_FIELD",
"cpe": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*"
}