Skip to content
Info disclosure Disclosed report Beginner

Access to multiple production Grafana dashboards

A production Grafana instance was accessible to guest users, exposing hundreds of dashboards with confidential company metrics. Additionally, one custom module on that instance was vulnerable to SQL injection.

damian89 Follow

Originally disclosed on HackerOne

Bounty$10,000incl. $2,500 bonus High View original
  • Triaged in 3 hours
  • Fixed in 2 days
  • Paid in 34 hours
  • Disclosed after 15 months

Summary by the program

@damian89 found a production Grafana instance which displayed confidential metrics inside various dashboards.

Summary by the researcher

While fuzzing patterns of certain snapchat related projects, I was able to find an instance of Grafana which was accessible by a guest user. That instance contained hundreds of production dashboards, valuable data about company. Furthermore one of the custom modules was vulnerable to SQL Injection.

The original report as published on HackerOne, by damian89. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 4 min read.

What the report shows

The target was a production Grafana instance associated with Snapchat. The researcher, damian89, describes the starting point as fuzzing patterns of certain Snapchat related projects. That fuzzing surfaced a Grafana instance that could be reached by a guest user.

Once inside as a guest, the researcher found hundreds of production dashboards. According to the report, those dashboards displayed confidential metrics and valuable data about the company. The researcher also states that one of the custom modules on the instance was vulnerable to SQL injection.

The program's summary confirms the finding: a production Grafana instance displaying confidential metrics inside various dashboards. The report was rated high severity under the Information Disclosure weakness, and the bounty was 10,000 USD. It was disclosed on 4 November 2020. The report does not describe the fix, the exact dashboards, the custom module, or the SQL injection beyond the single sentence above, and it contains no requests, payloads or commands.

Root cause

The likely root cause is missing or misconfigured authentication and authorisation on the Grafana instance. Grafana supports anonymous access and a viewer or guest role, and if anonymous access is enabled on an internet-facing production instance, anyone who finds the host can browse dashboards without credentials. The report does not say which setting was responsible, only that a guest user could reach the instance and its dashboards.

The second issue, the SQL injection in a custom module, points to a plugin or data source component that builds queries from user-controlled input without parameterisation. The report gives no detail on the module or the vulnerable parameter.

Impact

As described, an unauthenticated or guest-level visitor could read hundreds of production dashboards containing confidential company metrics. That is information disclosure of confidential company metrics. The report does not enumerate the metrics or state whether any of them were sensitive beyond being confidential.

The SQL injection in the custom module is stated but not elaborated.

How this kind of bug works

Monitoring and observability stacks are frequently deployed with convenience defaults. Grafana, for example, can serve dashboards to anonymous users when anonymous access is switched on, and organisations sometimes enable it so that wall displays, status pages or internal links work without logins. When the same instance is reachable from the internet, the access control that was meant to be a convenience becomes the only barrier, and there is none.

Discovery is usually a matter of finding the host. Subdomain enumeration, certificate transparency, favicon and title fingerprinting, and scanning for the characteristic Grafana login page or API paths all reveal these instances. Once a candidate is found, the question is whether it answers without a session and whether the dashboards behind it are populated with real data.

The SQL injection part is a separate, classic bug class: a component concatenates user input into a SQL statement instead of using parameterised queries, so crafted input changes the query's meaning. Custom plugins and data source connectors are common places for this because they are written in-house and reviewed less than core code.

How to test for it

  1. Enumerate hosts for the target with passive sources and active DNS brute force, then fingerprint responses for Grafana by its login page, static asset paths and API endpoints.
  2. For each candidate, request the root and the dashboard listing endpoints without any session cookie. A positive result is a rendered dashboard list or dashboard content rather than a redirect to login.
  3. Check whether the organisation or health endpoints respond unauthenticated, and whether search or folder APIs return objects.
  4. If dashboards render, record a small number of titles and the type of data shown, without exfiltrating more than needed to prove the point.
  5. For custom modules, map the parameters they accept and test them with benign probes that change query structure, such as quote characters and boolean conditions, watching for errors, timing differences or changed result sets.

Common false positives: a login page that merely looks like a dashboard, demo or sample dashboards shipped with the product, empty dashboards with no data sources, and public status pages that are intentionally anonymous. Confirm that the data is real and belongs to the target before reporting.

How it is fixed

Disable anonymous access and the guest role on internet-facing instances, or restrict the instance to a private network or VPN behind an authenticating proxy. Enforce authentication at the reverse proxy where possible, apply least-privilege roles to real users, and audit dashboard and folder permissions. For the injection, replace string concatenation with parameterised queries in the custom module, validate input types, and review in-house plugins with the same rigour as core code.

Hunting notes

Observability and internal tooling hide on subdomains such as monitoring, grafana, metrics, dashboards and status, and on non-standard ports. Certificate transparency and favicon hashes are strong signals.

The original is short, so this covers everything it reports, then explains this kind of bug in general: how it works, how to test for it and how it is fixed. The general sections are about the bug class, not this target. Written with AI and checked against the original; the original is the record. 6 min read.

What happened, in plain words

This report is about a monitoring tool called Grafana that a guest user could reach on Snapchat's infrastructure. Grafana is a dashboard product: it takes numbers from other systems and draws them as graphs, tables and charts. Companies use it to watch things like server load, error rates and business figures. Think of it as the instrument panel of a car, except it is a web page.

The researcher, damian89, was looking at Snapchat related projects and trying patterns in web addresses, a technique called fuzzing. Fuzzing means sending many slightly different inputs and watching what comes back, the way you might try many keys on a lock to see which one turns. This led to a Grafana instance that a guest user could reach. A guest user is a visitor who is not logged in, or who has only the lowest level of access.

Once inside as a guest, the researcher found hundreds of production dashboards. Production means the live system that real customers and staff use, not a test copy. Those dashboards displayed confidential metrics, that is, internal measurements about how the company and its services were doing. The researcher also says that one of the custom modules on the instance was vulnerable to SQL injection. A custom module is an add-on written by the company itself rather than shipped with the product. SQL injection is a way of slipping database commands into input that a program trusts, so the program runs the attacker's command instead of its own.

The program's own summary confirms the finding: a production Grafana instance showing confidential metrics inside various dashboards. The report was rated high severity under the Information Disclosure weakness. Information disclosure simply means private information was exposed to someone who should not have seen it. The bounty was 10,000 USD and the report was disclosed on 4 November 2020.

The report does not describe the fix, the exact dashboards, the custom module, or the SQL injection beyond that one sentence, and it contains no requests, payloads or commands.

In general, how this kind of bug works

Monitoring tools are often set up for convenience. Grafana, for example, can be configured to show dashboards to anonymous visitors, so that a screen on an office wall or a shared link works without anyone logging in. That is fine while the tool sits on a private network. When the same instance is reachable from the internet, the convenience setting becomes the only barrier, and there is none.

Finding such an instance is mostly a matter of finding the host. People use subdomain enumeration (guessing and checking names like monitoring.example.com), certificate transparency logs (public records of certificates issued for a domain), and fingerprinting (recognising a product by its login page, icons or API paths). Once a candidate is found, the question is whether it answers without a session and whether the dashboards behind it hold real data.

The SQL injection part is a separate, classic bug. A program builds a database query by gluing together text, including text supplied by the user. If that text is not handled safely, crafted input changes the meaning of the query. Custom plugins and data connectors are common places for this because they are written in-house and reviewed less than the core product.

How to test for it

  1. Enumerate hosts for the target using passive sources and active DNS brute force, then fingerprint responses for Grafana by its login page, static asset paths and API endpoints. This narrows a large list of names down to the few that look like the product.
  2. For each candidate, request the root and the dashboard listing endpoints without any session cookie. A cookie is a small piece of data a site stores in your browser to remember who you are; leaving it out is like knocking on the door without your key. A positive result is a rendered dashboard list or dashboard content rather than a redirect to login.
  3. Check whether the organisation or health endpoints respond unauthenticated, and whether search or folder APIs return objects. These are smaller doors that sometimes open even when the main one is locked.
  4. If dashboards render, record a small number of titles and the type of data shown, without taking more than needed to prove the point. This keeps the test ethical and the report credible.
  5. For custom modules, map the parameters they accept and test them with benign probes that change query structure, such as quote characters and boolean conditions, watching for errors, timing differences or changed result sets. A quote character is a common way to break out of a text value inside a query; a boolean condition is a true or false test that should not change the result if input is handled safely.

Common false positives: a login page that merely looks like a dashboard, demo or sample dashboards shipped with the product, empty dashboards with no data sources, and public status pages that are intentionally anonymous. Confirm that the data is real and belongs to the target before reporting.

How it is fixed

Disable anonymous access and the guest role on internet-facing instances, or restrict the instance to a private network or VPN behind an authenticating proxy. Enforce authentication at the reverse proxy where possible, apply least-privilege roles to real users, and audit dashboard and folder permissions. For the injection, replace string concatenation with parameterised queries in the custom module, validate input types, and review in-house plugins with the same rigour as core code.

Hunting notes

Observability and internal tooling hide on subdomains such as monitoring, grafana, metrics, dashboards and status, and on non-standard ports. Certificate transparency and favicon hashes are strong signals.

Glossary

  • Grafana: a web product that turns data from other systems into dashboards of graphs and tables.
  • Dashboard: a page in Grafana showing one or more charts or tables of measurements.
  • Production: the live system used by real customers and staff, as opposed to a test copy.
  • Metrics: numerical measurements about a system, such as load, error rates or business figures.
  • Fuzzing: sending many varied inputs and observing the responses to find unexpected behaviour.
  • Guest user: a visitor who is not logged in, or who has only the lowest level of access.
  • Anonymous access: a setting that lets visitors use a product without logging in.
  • Custom module: an add-on written by the company itself rather than shipped with the product.
  • SQL injection: slipping database commands into input a program trusts, so it runs the attacker's command.
  • Information disclosure: exposing private information to someone who should not see it.
  • Severity: a rating of how serious a finding is, here high.
  • Bounty: a payment made by a company to a researcher who reports a valid security issue.
  • Disclosed: made public, here on 4 November 2020.
  • Subdomain enumeration: finding host names under a domain by guessing and checking.
  • Certificate transparency: public logs of certificates issued for domains, useful for finding hosts.
  • Fingerprinting: recognising a product from its login page, icons or API paths.
  • Cookie: a small piece of data a site stores in your browser to remember who you are.
  • Session: the logged-in state a site keeps for you, usually tied to a cookie.
  • Endpoint: a specific web address that a program or API answers on.
  • API: a set of endpoints meant for programs to talk to, rather than for people clicking pages.
  • Parameter: a named input a web address or form accepts.
  • Parameterised query: a database query where user input is passed separately from the query text, so it cannot change the query's meaning.
  • False positive: a result that looks like a bug but is not one.
  • VPN: a private network connection that keeps internal systems off the public internet.
  • Reverse proxy: a server in front of an application that can enforce logins and other controls.
  • Least privilege: giving each user only the access they actually need.

More by damian89

View all

4 more disclosed reports, best first.

More from Snapchat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.