Information Disclosure in API Endpoint /users
An API endpoint exposed sensitive user details, including names, emails, roles and authentication-related data, to unauthenticated visitors. Anyone could retrieve this private information without logging in.
- Triaged in 13 hours
- Fixed in 8 months
- Disclosed after 10 months
An endpoint (/user) is exposing sensitive user information, including id, first name, last name, email, role, and auth_data, to unauthenticated users. This allows anyone to retrieve private user details without authentication, leading to a severe security risk.
Impact
1- Critical exposure of Personally Identifiable Information (PII), violating data protection policies.
2- Unauthorized access to user details, allowing attackers to collect user data.
3- Potential for phishing and social engineering attacks by exploiting leaked emails and user roles.
4- Exposure of authentication-related data (auth_data), which could aid in further attacks or unauthorized access.
System Host(s)
█████████
Affected Product(s) and Version(s)
CVE Numbers
Steps to Reproduce
Visit the vulnerable website ████████ as an unauthenticated user
Navigate to the /user endpoint.
Observe the response containing exposed user data.
You can also use the below request:
GET /users HTTP/2 Host: ██████████ User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.6613.127 Safari/537.36 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8 Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate, br Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 Priority: u=0, i Te: trailers
And observe the response
Suggested Mitigation/Remediation Actions
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 endpoint lacked an authentication or authorisation check, so it returned user records to any caller.
Impact
Unauthenticated attackers could collect personal data and authentication-related data, which could aid phishing, social engineering and further attacks.
What the attacker needed
No login required
How it was found
- Visit the vulnerable website as an unauthenticated user.
- Navigate to the /user endpoint.
- Observe the response containing exposed user 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 report has not been written yet. The Original tab links to the source.
A web server has an address (an endpoint) that is meant to return data. Here it returned private details about users to anyone who asked, even without logging in. That means a stranger could collect names, email addresses and other account data just by visiting a link.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.