API Hunting to Employee PII Data
An API endpoint exposed personal data of members, including employee emails and dates of birth, when accessed with a specific identifier. An attacker could retrieve this sensitive information without authorisation.
infosecwriteups.com
Published on infosecwriteups.com
Read for Freee..ee๐
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 did not check whether the requester was allowed to view the profile data for the given identifier.
Impact
An attacker could access personal data of members, including employee emails and dates of birth, without authorisation.
What the attacker needed
None
How it was found
- Find subdomains of the target domain using a subdomain enumeration tool.
- Fuzz for additional subdomains with patterns like prefix or suffix variations.
- Run a directory brute-force tool on the discovered API subdomain to find exposed directories.
- Access the /profile endpoint and observe JSON data containing user IDs.
- Fuzz the user ID parameter with a list of IDs to find one that returns a 200 status code.
- Retrieve personal data from the /profile/id endpoint.
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.
An API is a way for programs to talk to each other. The researcher found that one part of the company's website let anyone see private details about employees, like their email addresses and birthdays, just by changing a number in the web address. This is a problem because that information should be kept secret.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.