Information Disclosure in Top 500 Company through Source Code
A page that appeared blank still contained personal information about a user, including full name, email, phone number and address, embedded in its client-side source code. Anyone who viewed the page source could read that data.
Published on medium.com
In today’s digital landscape, information disclosure is a critical concern for organizations, particularly for those in the top 500 companies. As technology evolves, so do the risks associated with managing sensitive information.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely sensitive personal data was hard-coded into client-side page source instead of being kept server-side or removed.
Impact
Anyone who viewed the page source could read a user's full name, email, phone number, address and designation, which could enable unauthorised access and data manipulation.
What the attacker needed
None
The fix
The issue was fixed by removing sensitive information from client-side code and using environment-based configurations.
How it was found
- Visit the target page, which appears blank.
- Open the browser developer tools and view the page source.
- Scroll through the HTML and find embedded scripts containing a user's personal details.
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 write-up has not been written yet. The Original tab links to the source.
When a web page looks empty, the code your browser receives can still contain hidden content. Here, the page's source code included a real person's name, email, phone number and address, so anyone who opened the page source could see them. This is called information disclosure: private data is exposed where it should not be.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.