Private partial disclosure of h1 infrastructure
The report lists internal staging and admin services that are exposed to the internet, some with weak authentication, and shows how their hostnames can be found in a client-side JavaScript file. An attacker could use this information to target those services, potentially accessing sensitive data.
- Triaged in 13 hours
- Fixed in 6 days
- Disclosed after 7 days
Description I've found that following servers & services can be potentially interesting when attacking h1-infrastructure:
- Payments Admin ██████
- API Docs ██████████
- API █████████
- MailCatcher ██████████
- Story Book ███
- Karma ████████
- Core Test Server █████████
- Core Staging ████
- Core Production https://hackerone.com/
- Support Staging ███████
- Support Production █████████
- Payments Staging ███████
- Payments Production █████
At least ███ are enabled via Internet. For example ████ is using Basic Authentication without any throtlling. I've write JMeter script that performs bruteforcing by dictionary (nothing was found by 10K attempts but I've stopped bruteforcing as I do not understant possible impact on your staging service).
In my practice Staging servers often use forks of production data with some obfuscation of very sensitive data. But, any way real sensitive data can be still found in such instances and used against production.
Steps to reproduce
- login to the application and go to /bugs page
- find that███████.███████.js is downloaded by browser (perhaps for other user the hash-value can be different)
- look inside the *.js file - you will find uppermentioned links
p.s. No such reports are registered currently in your Hacktivity thread. brutforcing-jmeter script can be provided to you if necessary.
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, internal hostnames and service details were exposed in a client-side JavaScript file, and some staging services were publicly accessible with weak authentication.
Impact
An attacker could use the exposed hostnames to target staging and admin services, some with weak authentication, and sensitive data may be found there.
How it was found
- Log in to the application and go to the /bugs page.
- Observe that a JavaScript file is downloaded by the browser.
- Inspect the JavaScript file to find links to internal services.
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.
The researcher found a list of internal servers (like test versions of the website) that are accessible from the internet. Some of these servers have weak login protection, and the list can be discovered by looking at a JavaScript file that the website loads. This could let an attacker try to break into those servers and access private information.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.