Skip to content
Info disclosure Disclosed report Beginner

Information Disclosure through Sentry Instance ███████

A Sentry error-tracking endpoint was reachable and returned a disclosure UI when a GET request was changed to POST, exposing sensitive information. An attacker could use the leaked data to plan further attacks against the server.

chajer Follow

Originally disclosed on HackerOne

Bounty$750 High View original
  • Fixed in 5 hours
  • Paid in 5 hours
  • Disclosed after 12 hours

Hello team

I found a bug (sensitive information ) can be used from attackers to perfom attack in youre server I don't know if this in scope so i'm sorry if i'm wrrong

withou spending youre time here the steps how i found this bug :

1-Please use burp suite to reproduce the same result 2-i notice you have as tool for track errors (sentry) 3- i send the request to ███ via /api/20/store█████████

4-change request from get to post Request:

POST /api/20/store██████ HTTP/1.1 Host: ███ Connection: close Cache-Control: max-age=0 Upgrade-Insecure-Requests: 1 ██████ Sec-Fetch-Mode: navigate Sec-Fetch-User: ?1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3 Sec-Fetch-Site: none Accept-Encoding: gzip, deflate Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7 Content-Type: application/x-www-form-urlencoded Content-Length: 0 5-go to response and click in the [Render ] to view disclosure UI 6- i get alot of information disclosure ███(see my screenns) i think the server behind this is [███] with ███

Impact

Please see the screens for more information best regards let me know if you need more information.

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

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

The target is a host under *.zomato.com. The researcher noticed that the application uses Sentry as its error-tracking tool. Sentry collects exceptions and debugging data from an application and exposes them through a web interface, so anything reachable through that interface is worth examining from the outside.

The report describes an endpoint under /api/20/store that, when reached with a POST request, returned a response containing a [Render] control. Following that control opened a disclosure UI showing a large amount of information. The researcher believed the server behind it was identified in the redacted portion of the report.

Setup

The only tool named in the report is Burp Suite, used to reproduce the result. No account, role or version is mentioned. The precondition is simply that the endpoint is reachable and that the request can be changed from GET to POST.

Finding it

The researcher states that a bug exposing sensitive information was found, and that it could be used by attackers to perform an attack on the server. They also say they were unsure whether the issue was in scope.

The observation that started the investigation was the presence of Sentry as the error-tracking tool. The endpoint of interest was reached via /api/20/store, with the host redacted in the report.

Exploitation

Step 1: Use Burp Suite

The researcher asks the reader to use Burp Suite to reproduce the same result. This is the interception proxy used for all following steps.

Step 2: Note the Sentry instance

The application was observed to use Sentry for tracking errors. That is the feature whose exposure is being tested.

Step 3: Send the request to the endpoint

The request is sent to the redacted host via /api/20/store, with the remainder of the path redacted.

Step 4: Change the method from GET to POST

The request is switched from GET to POST. The full request as shown in the report is:

HTTP
POST /api/20/store██████ HTTP/1.1
Host: ███
Connection: close
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
██████
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Accept-Encoding: gzip, deflate
Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

One header line is redacted in the report.

Step 5: Open the Render view

In the response, the researcher clicks the [Render] control to view the disclosure UI. The report does not describe the response body itself, only that this control was present and led to the interface.

Step 6: Read the disclosed information

The result was, in the researcher's words, a lot of information disclosure, shown in their screens. The report refers to screenshots for the details, but none are included in the text available here. The researcher adds that they believe the server behind the interface is the one named in the redacted portion, with a further redacted detail.

Root cause

The report does not analyse the code. What it shows is that a request to an application endpoint, with the method changed to POST, produced a response containing a [Render] control that opened a disclosure UI. The report does not analyse the cause; it only shows that the POST request produced a response with a [Render] control that opened a disclosure UI. The report does not state which defence, if any, was expected to prevent this.

Impact

The researcher describes the exposure as sensitive information that attackers could use to perform an attack on the server. The report does not enumerate the specific data items disclosed, the users affected, or the conditions under which the endpoint is reachable beyond the request shown. The severity recorded for the report is high, with a bounty of 750.00 USD.

Fix

A reasonable direction, given the behaviour shown, is to stop exposing the debugging and error-tracking interface through the application endpoint, and to require authentication for any such UI. The report itself does not say which of these was applied.

Variants to test

  1. Method switching on API endpoints: take a GET endpoint and resend it as POST with an empty body, as in the request above. A positive result is a response that differs from the GET response and contains debugging or error-tracking output.
  2. Look for [Render] or similar controls in responses: any response that offers a link to render or inspect an error is worth following. A positive result is an interface that shows debugging or error-tracking information.
  3. Check for Sentry in page source and responses: if the application references Sentry, try to reach the interface it points to. A positive result is a Sentry interface reachable from the application.
  4. Try the same method switch on other paths under the same API prefix. A positive result is the same disclosure UI appearing from a different endpoint.

Hunting notes

This kind of bug tends to sit where an application exposes its own debugging or error-tracking tooling through a normal endpoint, rather than on a separate internal host. During recon, the signal is a reference to Sentry, or to any error-tracking product, in the application's responses or client-side code. The researcher walked from a plain request to the disclosure UI in numbered steps and referred to screens for more information.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

What happened, in plain words

A security researcher was looking at a website run by Zomato (the target was a host under *.zomato.com). They noticed that the site uses a tool called Sentry to keep track of errors. Sentry is a service that collects crash reports and debugging details from an application and shows them in a web page. If that web page can be reached from outside without a login, it can leak internal detail about how the site works.

The researcher found an address on the site, under /api/20/store, that behaved differently when they changed the type of request being sent to it. Instead of a normal page request, they sent a POST request, and the reply contained a [Render] control. Clicking that control opened a page showing a large amount of information. The researcher believed this was sensitive information that an attacker could use to attack the server.

This article walks through the same steps the researcher described, in the same order, explaining each idea from scratch. It is meant for someone who can use a browser and a computer but has never done security testing before.

Some background ideas first

Before the steps make sense, a few everyday ideas help.

A request and a response. When you type an address into your browser and press Enter, your browser sends a request to a server, and the server sends back a response. Think of it like posting a letter and getting a reply. The request says what you want; the response contains what the server decided to give you.

HTTP methods. Every request has a method, which is a word telling the server what kind of action you want. The two you will see here are GET and POST. GET is the normal one used when you open a page in a browser: it means "give me this thing". POST is usually used when you submit a form, and it means "here is some data, do something with it". A server can be written to treat the same address differently depending on which method is used, and that difference is exactly what this report is about.

An API. An API is a way for one piece of software to talk to another. On a website, an address starting with /api/ is usually a doorway meant for programs rather than for people clicking links. It still answers over the same web, so a person with the right tool can send requests to it too.

Headers. A request is not just an address. It also carries small labelled lines called headers, which give extra context: what kind of content the browser accepts, what language the user prefers, how big the body is, and so on. You can think of headers as the notes written on the outside of the envelope, separate from the letter inside.

The body. Some requests carry a body, which is the actual content being sent, for example the fields of a form. A request can also have an empty body, which is what happens in the request shown below.

Burp Suite. Burp Suite is a program that sits between your browser and the server. Instead of your browser talking directly to the site, it talks to Burp, and Burp passes the message on. The useful part is that Burp lets you stop a request, look at it, change it, and then send it onwards. It is like an interception proxy: a mail room where you can open the envelope, rewrite the letter, and reseal it before it goes out.

Sentry and error tracking. When software crashes or hits an unexpected problem, it can record the details: what went wrong, where in the code, and sometimes what data was being handled at the time. Sentry is a product that gathers these records and presents them in a web interface. That interface is meant for the developers of the site, not for the public. If it is reachable from outside without a login, it can reveal internal information.

Information disclosure. This is the name for a bug where a system gives out information it should have kept private. It is not necessarily a break-in; it is more like a filing cabinet left open in a corridor. The leaked details can then help an attacker plan a more serious attack.

Setting up

The only tool named in the report is Burp Suite, used to reproduce the result. No account, role or version is mentioned. The only precondition is that the address can be reached and that the request can be changed from GET to POST.

Finding it

The researcher says they found a bug that exposes sensitive information, and that it could be used by attackers to perform an attack on the server. They also say they were not sure whether the issue was in scope, meaning they were not certain the affected system was covered by the bug bounty programme's rules.

The observation that started the investigation was the presence of Sentry as the error-tracking tool. The address of interest was reached via /api/20/store, with the host name redacted in the report.

Exploitation

Step 1: Use Burp Suite

The researcher asks the reader to use Burp Suite to reproduce the same result. This is the interception proxy used for all the following steps.

Step 2: Note the Sentry instance

The application was observed to use Sentry for tracking errors. That is the feature whose exposure is being tested. The reasoning is simple: if the site uses an error-tracking tool, and that tool has a web interface, then it is worth checking whether that interface can be reached from outside.

Step 3: Send the request to the endpoint

The request is sent to the redacted host via /api/20/store, with the rest of the path redacted. In Burp, this means letting the browser make a normal request to that address and catching it in the proxy so it can be inspected and altered.

Step 4: Change the method from GET to POST

The request is switched from GET to POST. The request is switched from GET to POST, as shown in the report. The full request as shown in the report is:

HTTP
POST /api/20/store██████ HTTP/1.1
Host: ███
Connection: close
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
██████
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
Sec-Fetch-Site: none
Accept-Encoding: gzip, deflate
Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7
Content-Type: application/x-www-form-urlencoded
Content-Length: 0

Line by line, in plain words:

  • POST /api/20/store██████ HTTP/1.1: this is the request line. POST is the method, the path is the address on the server being asked for, and HTTP/1.1 is the version of the web protocol being used. Part of the path is redacted in the report.
  • Host: ███: the name of the server being contacted. It is redacted here.
  • Connection: close: tells the server to close the connection after this one exchange, rather than keeping it open for more.
  • Cache-Control: max-age=0: a caching hint, saying the response should not be reused from a stored copy.
  • Upgrade-Insecure-Requests: 1: tells the server the browser would prefer a secure (HTTPS) version of the page if one exists.
  • ██████: one header line is redacted in the report, so its content is not shown.
  • Sec-Fetch-Mode: navigate: part of a group of headers that browsers add to describe the context of the request. navigate means the request is for a page the user is going to, as opposed to a background fetch.
  • Sec-Fetch-User: ?1: indicates the navigation was started by the user, for example by typing an address or clicking a link.
  • Accept: ...: a list of content types the browser is willing to receive, with preference weights. This is the browser saying what kinds of reply it can handle.
  • Sec-Fetch-Site: none: says the request did not originate from another site; it was started directly.
  • Accept-Encoding: gzip, deflate: the browser can accept compressed replies, which saves bandwidth.
  • Accept-Language: fr-FR,fr;q=0.9,en-US;q=0.8,en;q=0.7: the languages the user prefers, with French first and English second.
  • Content-Type: application/x-www-form-urlencoded: says the body, if there were one, would be in the format used by ordinary HTML forms.
  • Content-Length: 0: says the body is empty. There is nothing being submitted; only the method has been changed.

The request carries no body and uses the form content type. The Sec-Fetch-* headers indicate a top-level navigation from the browser. One header line is redacted in the report.

Step 5: Open the Render view

In the response, the researcher clicks the [Render] control to view the disclosure UI. The report does not describe the response body itself, only that this control was present and led to the interface.

Step 6: Read the disclosed information

The result was, in the researcher's words, a lot of information disclosure, shown in their screens. The report refers to screenshots for the details, but none are included in the text available here. The researcher adds that they believe the server behind the interface is the one named in the redacted portion, with a further redacted detail.

Why it works

The report does not analyse the code. What it shows is that a request to an application address, with the method changed to POST, produced a response containing a [Render] control that opened a disclosure UI. The report does not analyse the cause; it only shows that the POST request produced a response with a [Render] control that opened a disclosure UI. The report does not state which defence, if any, was expected to prevent this.

Impact

The researcher describes the exposure as sensitive information that attackers could use to perform an attack on the server. The report does not list the specific data items disclosed, the users affected, or the conditions under which the address is reachable beyond the request shown. The severity recorded for the report is high, with a bounty of 750.00 USD.

Fix

A reasonable direction, given the behaviour shown, is to stop exposing the debugging and error-tracking interface through the application address, and to require authentication for any such interface. The report itself does not say which of these was applied.

Variants to test

  1. Method switching on API addresses: take a GET address and resend it as POST with an empty body, as in the request above. A positive result is a response that differs from the GET response and contains debugging or error-tracking output.
  2. Look for [Render] or similar controls in responses: any response that offers a link to render or inspect an error is worth following. A positive result is an interface that shows debugging or error-tracking information.
  3. Check for Sentry in page source and responses: if the application references Sentry, try to reach the interface it points to. A positive result is a Sentry interface reachable from the application.
  4. Try the same method switch on other paths under the same API prefix. A positive result is the same disclosure interface appearing from a different address.

Hunting notes

This kind of bug tends to sit where an application exposes its own debugging or error-tracking tooling through a normal address, rather than on a separate internal host. During recon, the signal is a reference to Sentry, or to any error-tracking product, in the application's responses or client-side code. The researcher walked from a plain request to the disclosure interface in numbered steps and referred to screens for more information.

Glossary

  • API: a way for one piece of software to talk to another, usually through addresses that start with /api/.
  • Body: the content carried inside a request or response, such as form fields; it can also be empty.
  • Burp Suite: a program that sits between your browser and a server so you can inspect and change requests before they are sent.
  • Content-Type: a header that says what format the body is in.
  • Content-Length: a header that says how big the body is, in bytes.
  • Debugging output: extra detail a program produces to help developers understand what it is doing or what went wrong.
  • Endpoint: a specific address on a server that accepts requests.
  • Error tracking: the practice of recording crashes and unexpected problems so developers can review them later.
  • GET: an HTTP method used to ask for something, such as opening a page.
  • Header: a labelled line in a request or response that carries extra context.
  • HTTP: the protocol browsers and servers use to exchange requests and responses.
  • Information disclosure: a bug where a system reveals information it should have kept private.
  • Interception proxy: a tool that sits in the middle of a connection so messages can be viewed and altered.
  • Method: the word in a request (such as GET or POST) that says what kind of action is wanted.
  • POST: an HTTP method usually used to submit data to a server.
  • Recon: the early phase of looking around a target to learn how it is built.
  • Request: the message a client sends to a server asking for something.
  • Response: the message a server sends back.
  • Scope: the set of systems a bug bounty programme's rules cover.
  • Sentry: a product that collects error reports from applications and shows them in a web interface.
  • Stack trace: the list of steps in a program that led to an error.
  • UI: user interface, the part of a system a person sees and interacts with.

More from Eternal

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.