Configuration and/or source code files on uchat-staging.uberinternal.com can be viewed without OneLogin SSO Authentication
A staging web application served its static JavaScript bundle without requiring OneLogin SSO authentication. An attacker could download the file and learn internal configuration details, system names, and source code.
Originally disclosed on HackerOne
- Disclosed after 9 days
Summary
Configuration file and/or source code information leakage without Uber OneLogin SSO authentication.
Security Impact
Misconfiguration on the server results in information leakage without authentication.
Reproduction Steps
https://uchat-staging.uberinternal.com/static/main.740f5a0b92c00e72e2e1.js
Specifics
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-2169
- http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0202
- https://www.owasp.org/index.php/Testing_for_Local_File_Inclusion
Impact
Access to internal configuration files, system names, and source code.
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 static file route was not covered by the SSO authentication layer, so the JavaScript bundle was served to unauthenticated users.
Impact
An unauthenticated attacker could access internal configuration files, system names, and source code, which may aid further attacks.
What the attacker needed
None
How it was found
- Request the static JavaScript file URL without logging in.
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.
A staging website is a test copy of a real site. This one was supposed to ask staff to log in through the company's single sign-on (OneLogin) before showing anything, but a JavaScript file was reachable without logging in. That file can reveal internal names and code that help an attacker plan further attacks.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.