> For the complete documentation index, see [llms.txt](https://0xss0rz.gitbook.io/0xss0rz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://0xss0rz.gitbook.io/0xss0rz/pentest/public-exploit/grafana.md).

# Grafana

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y41FQ2GA)

{% embed url="<https://github.com/trilokdhaked/Bug-Bounty-Methodology/blob/main/Technologies/Grafana.md>" %}

## Scanner

{% embed url="<https://github.com/Zierax/Grafana-Final-Scanner/tree/main>" %}

## CVE-2025-6023 - Open Redirection leading to XSS / ATO

{% embed url="<https://blog.ethiack.com/blog/grafana-cve-2025-6023-bypass-a-technical-deep-dive>" %}

`GET /user/auth-tokens/rotate?redirectTo=/%23/..///attacker.com HTTP/1.1` results in a 302 redirect that is a valid open redirect to attacker.com

## CVE-2025-4123 - SSRF, XSS

**Affected Versions:** Grafana 11.2, Grafana 11.3, Grafana 11.4, Grafana 11.5, Grafana 11.6, Grafana 12.0

Open redirect:

```
https://domain.com/public/..%2F%5coast.pro%2F%3f%2F..%2F..
```

{% embed url="<https://medium.com/@Nightbloodz/grafana-cve-2025-4123-full-read-ssrf-account-takeover-d12abd13cd53>" %}

{% embed url="<https://infosecwriteups.com/how-one-path-traversal-in-grafana-unleashed-xss-open-redirect-and-ssrf-cve-2025-4123-b35245dccaab>" %}

{% embed url="<https://github.com/NightBloodz/CVE-2025-4123>" %}

{% embed url="<https://github.com/ynsmroztas/CVE-2025-4123-Exploit-Tool-Grafana->" %}

## Grafana arbitrary file-read / RCE (CVE-2024-9264)

*Grafana* versions *11.0*.x, 11.1.x and

{% embed url="<https://github.com/nollium/CVE-2024-9264>" %}

Reverse shell:

{% embed url="<https://github.com/z3k0sec/CVE-2024-9264-RCE-Exploit>" %}

<figure><img src="/files/wC5srYoBPV4CvumqD8zw" alt=""><figcaption></figcaption></figure>

## Interesting Books

{% content-ref url="/pages/VVT5FQq9z62bWoNAWCUS" %}
[Interesting Books](/0xss0rz/interesting-books.md)
{% endcontent-ref %}

{% hint style="info" %}
**Disclaimer**: As an Amazon Associate, I earn from qualifying purchases. This helps support this GitBook project at no extra cost to you.
{% endhint %}

* [**The Web Application Hacker’s Handbook**](https://www.amazon.fr/dp/1118026470?tag=0xss0rz-21) The go-to manual for web app pentesters. Covers XSS, SQLi, logic flaws, and more
* [**Bug Bounty Bootcamp: The Guide to Finding and Reporting Web Vulnerabilities**](https://www.amazon.fr/dp/1718501544?tag=0xss0rz-21) Learn how to perform reconnaissance on a target, how to identify vulnerabilities, and how to exploit them
* [**Real-World Bug Hunting: A Field Guide to Web Hacking**](https://www.amazon.fr/dp/1593278616?tag=0xss0rz-21) Learn about the most common types of bugs like cross-site scripting, insecure direct object references, and server-side request forgery.

## Support this Gitbook

I hope it helps you as much as it has helped me. If you can support me in any way, I would deeply appreciate it.

[![ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y41FQ2GA)

[![buymeacoffee](https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png)](https://buymeacoffee.com/0xss0rz)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://0xss0rz.gitbook.io/0xss0rz/pentest/public-exploit/grafana.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
