How I Found P1 bug Due to Sensitive data exposure And Earn $$$$
The profile pages of a bug bounty platform exposed sensitive user data such as email addresses and user IDs in the page source, even when the user was logged out. An attacker could view any user's data without authorisation by visiting their public profile and inspecting the source.
Published on piyushshuklabug.medium.com
Hello ,Hackers I hope you all are doing great. Keep finding bugs and even if you are not finding them, keep putting efforts in it .
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 the application embedded sensitive user data directly into the HTML of public profile pages without checking whether the viewer was authorised to see it.
Impact
Any user's email address, user ID and other sensitive data could be read by anyone without authentication, as the data was present in the source of public profiles.
What the attacker needed
None
The fix
The bug was fixed according to the report.
How it was found
- Log in and open your own profile page, then view the page source.
- Notice that your email, user ID and other sensitive data appear in the source.
- Log out and visit your public profile URL, then view the source again.
- Confirm the same sensitive data is still visible without being logged in.
- Use Wayback URLs to collect other usernames, then open each user's profile and check the source to see their data.
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 you visit a website, the page source is the raw code that your browser receives. Sometimes developers accidentally include private information in that code, thinking it is hidden. Here, the site put users' email addresses and IDs into the page source of public profiles, so anyone could read them without logging in.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.