CVE-2022-39324
Grafana vulnerable to spoofing originalUrl of snapshots
Grafana is an open-source platform for monitoring and observability. Prior to versions 8.5.16 and 9.2.8, malicious user can create a snapshot and arbitrarily choose the `originalUrl` parameter by editing the query, thanks to a web proxy. When another user opens the URL of the snapshot, they will be presented with the regular web interface delivered by the trusted Grafana server. The `Open original dashboard` button no longer points to the to the real original dashboard but to the attacker’s injected URL. This issue is fixed in versions 8.5.16 and 9.2.8.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: [email protected]Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: af854a3a-2127-422b-91ae-364da2661108Fix
github.com/grafana/grafana (Go): OSV reports a fixed version 9.2.8. Check the advisory for supported release branches.
Source: OSV GHSA-4724-7jwc-3fpwFix
github.com/grafana/grafana (Go): OSV reports a fixed version 8.5.16. Check the advisory for supported release branches.
Source: OSV GHSA-4724-7jwc-3fpwAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| grafana grafana |
< 8.5.16 (affected) >= 9.0.0, < 9.2.8 (affected) |
CNA: GitHub_M |
github.com/grafana/grafanagithub.com/grafana/grafana
Go |
≥ 9.0.0; < 9.2.8 (affected, semver); OSV events: introduced 9.0.0; fixed 9.2.8Source events (semver)
Other versions: unaffected |
OSV GHSA-4724-7jwc-3fpw |
github.com/grafana/grafanagithub.com/grafana/grafana
Go |
≥ 0; < 8.5.16 (affected, semver); OSV events: introduced 0; fixed 8.5.16Source events (semver)
Other versions: unaffected |
OSV GHSA-4724-7jwc-3fpw |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
NVD applicability configurations (1)
These expressions retain AND/OR operators, negation, and required environmental products. A listed product is not sufficient to establish exposure when additional conditions apply.
[
{
"negate": false,
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
"versionEndExcluding": "8.5.16",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*",
"versionEndExcluding": "9.2.8",
"versionStartIncluding": "9.0.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
],
"operator": "OR"
}
]CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 3.1 / 6.7 medium |
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L | CNA: GitHub_M |
| 3.1 / 3.5 low |
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N | NVD: [email protected] |
| 3.1 / 6.7 medium |
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:L | NVD: [email protected] |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpwCNA: GitHub_M · x_refsource_CONFIRM
- https://github.com/grafana/grafana/pull/60232CNA: GitHub_M · x_refsource_MISC
- https://github.com/grafana/grafana/pull/60256CNA: GitHub_M · x_refsource_MISC
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74aCNA: GitHub_M · x_refsource_MISC
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985cCNA: GitHub_M · x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20230309-0010/ADP: CVE
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpwADP: CVE · x_refsource_CONFIRM, x_transferred
- https://github.com/grafana/grafana/pull/60232ADP: CVE · x_refsource_MISC, x_transferred
- https://github.com/grafana/grafana/pull/60256ADP: CVE · x_refsource_MISC, x_transferred
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74aADP: CVE · x_refsource_MISC, x_transferred
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985cADP: CVE · x_refsource_MISC, x_transferred
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74a[email protected] · Patch, Third Party Advisory
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985c[email protected] · Patch, Third Party Advisory
- https://github.com/grafana/grafana/pull/60232[email protected] · Patch, Third Party Advisory
- https://github.com/grafana/grafana/pull/60256[email protected] · Patch, Third Party Advisory
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpw[email protected] · Third Party Advisory
- https://github.com/grafana/grafana/commit/239888f22983010576bb3a9135a7294e88c0c74aaf854a3a-2127-422b-91ae-364da2661108 · Patch, Third Party Advisory
- https://github.com/grafana/grafana/commit/d7dcea71ea763780dc286792a0afd560bff2985caf854a3a-2127-422b-91ae-364da2661108 · Patch, Third Party Advisory
- https://github.com/grafana/grafana/pull/60232af854a3a-2127-422b-91ae-364da2661108 · Patch, Third Party Advisory
- https://github.com/grafana/grafana/pull/60256af854a3a-2127-422b-91ae-364da2661108 · Patch, Third Party Advisory
- https://github.com/grafana/grafana/security/advisories/GHSA-4724-7jwc-3fpwaf854a3a-2127-422b-91ae-364da2661108 · Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230309-0010/af854a3a-2127-422b-91ae-364da2661108
- https://github.com/advisories/GHSA-4724-7jwc-3fpwOSV / GitHub Security Advisories · advisory
- https://osv.dev/vulnerability/GHSA-4724-7jwc-3fpwOSV / GitHub Security Advisories · osv
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.