Leak of usernames from a private website
The website stored site-related data, including endpoints, in browser local storage. One of those endpoints returned usernames of private users, which the researcher could access.
Originally disclosed on Bugcrowd
- Accepted in 5 days
- Fixed in 12 days
- Disclosed after 17 days
Summary by everythingBlackkkk
At the beginning, I analyzed the website's JavaScript code and found that it stores a lot of information in the local storage, which is not the best place to keep site-related data, especially if it is sensitive. After that, I checked the local storage and found some endpoints, just as I expected from my analysis of the JavaScript file. Among these endpoints, I found data related to the usernames of private users, not for public access. Better luck to everyone.
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 sensitive endpoint information was placed in client-side local storage, and an endpoint exposed private usernames without adequate access control.
Impact
Private users' usernames could be disclosed to someone who inspected the site's client-side storage.
What the attacker needed
Ability to view the site's JavaScript; ability to read browser local storage
How it was found
- Analyse the website's JavaScript code.
- Notice that site-related data is stored in local storage.
- Inspect local storage and find endpoints.
- Access an endpoint that returns private users' usernames.
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.
Local storage is a small data store inside your browser that a website can read and write. The researcher read the site's JavaScript, saw it saved information there, and found a link that exposed private usernames. The report does not explain how the link was protected or who could use it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.