Information disclosure via api misconfiguration
An authenticated API endpoint on the identity subdomain returned company employee records, including job titles, job descriptions and profile pictures, to any logged-in user. By fuzzing API paths with their own session cookie, the hunter found an endpoint that disclosed fresh employee data on every request.
Published on rizwansiddiqu1.medium.com
Hello, Amazing hackers My name is Rizwan Siddiqui I am a Bug Hunter. This is my First Write-up hope You guys will enjoy it and learn something new from 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 API endpoint lacked an authorisation check, so any authenticated user could retrieve employee records.
Impact
Any logged-in user could repeatedly pull company employee data such as job titles, job descriptions and profile pictures, exposing personal information about staff.
What the attacker needed
A free account on the site; an intercepting proxy
How it was found
- Log in to the identity subdomain with your own credentials.
- Capture the request to the personal-details API endpoint in an intercepting proxy.
- Replace the 'personal' path segment with 'work' and send the request.
- Repeat the request to receive further employee records each time.
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.
A web app often has hidden API addresses behind the pages you see. The researcher guessed many of these addresses while logged in, and one of them handed back private staff records that should not have been visible to an ordinary user. This is a misconfiguration: the endpoint existed and answered, but nobody checked who should be allowed to read it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.