Skip to content
Open redirect Write-up Intermediate

How I Found “CVE-2025–4123” in Grafana Using FOFA (and Got

A Grafana instance was vulnerable to a client-side path traversal that could redirect users to an attacker-controlled domain. The author attempted to escalate this to stored XSS or SSRF but only reliably achieved an open redirect.

a0xtrojan Follow

Published on medium.com

Hello Hunters! I’m Abdelrahman (A0xtrojan), and I’m excited to share my write-up with you, found in a private program on in intigriti.

A0xtrojan, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a client-side path traversal flaw in Grafana's public path handling that allows an open redirect.

Impact

An attacker could redirect a victim to an arbitrary site, but attempts to achieve stored XSS or SSRF did not work reliably in the author's tests.

What the attacker needed

Victim clicks a crafted link; Grafana instance is vulnerable

How it was found

  1. Search FOFA for hosts under a domain using the Grafana icon hash.
  2. Open a Grafana dashboard returned by the search.
  3. Inject a path traversal payload into the vulnerable panel.
  4. Observe the redirect to the attacker-controlled domain.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

A path traversal trick makes a web address point somewhere it should not, and an open redirect sends you to another site. Here, a crafted link could make Grafana send a visitor to a site the attacker chose. The author tried to do more damage but could not make it work reliably.

What is Open redirect?

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.

More by a0xtrojan

View all

5 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Open redirect

The lesson behind this report.

A trusted site forwards users to any address an attacker picks; rarely paid alone, often the missing link in a chain.