Debug information disclosure on oauth-redirector.services.greenhouse.io
The Sintra framework application on the OAuth redirector host was configured to show detailed exception pages. An attacker could trigger an unhandled exception and read internal configuration, environment variables and source code snippets.
Originally disclosed on HackerOne
- Triaged in 3 hours
- Fixed in 11 days
- Paid in 11 days
- Disclosed after 2.0 years
Summary:
The configuration of the Sintra framework application hosted at oauth-redirector.services.greenhouse.io exposes internal information when exceptions occur. The application is configured with the show_exceptions setting which causes internal application configuration, environment variables and source code snippets to be exposed when exceptions occur.
Description:
When an unhandled exception occurs (such as providing an invalid oauth_redirect_uri cookie value to /integrations/oauth/create) the application produces a nicely formatted error page which lists internal application data such as configuration, environment variables and source code snippets.
This issue was identified whilst assessing the security of the OAuth login function at https://app.greenhouse.io/users/sign_in
Steps To Reproduce:
- Send the following HTTP request to https://oauth-redirector.services.greenhouse.io/integrations/oauth/create?state=x&code=x:
GET /integrations/oauth/create?state=x&code=x HTTP/1.1
Host: oauth-redirector.services.greenhouse.io
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Cookie: oauth_redirect_uri=https%3A%2F%2Fapp.<x>greenhouse.io%2Fusers%2Fauth%2Fgoogle_oauth2%2Fcallback
Connection: close
Supporting Material/References:
See the attached screenshot and saved HTML of an application error.
Impact
Information provided by this exception, or other exceptions exposed by the Sintra framework due to the show_exceptions configuration setting, could allow an attacker to obtain sensitive internal configuration or source code snippets.
Attachments

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the Sintra framework's show_exceptions debug setting was left enabled in production, so unhandled exceptions render a detailed diagnostic page.
Impact
An attacker could obtain sensitive internal configuration or source code snippets from the exposed exception pages.
What the attacker needed
None
The fix
Disabling the show_exceptions setting would stop unhandled exceptions exposing internal detail.
How it was found
- Send a request to the OAuth create endpoint with placeholder state and code values.
- Include a cookie holding an invalid OAuth redirect URI value.
- Observe the formatted error page listing configuration, environment variables and source code snippets.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
When a web app crashes, it normally shows a vague error. Here the app was set to show a detailed debug page instead, which lists things like its settings and parts of its code. Anyone who can make the app crash can then read that internal detail.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.