PII Leak via Email
The Owner creation GraphQL endpoint used only the email address to decide whether to create a new user or return an existing one, so submitting an already-used email returned that user's full profile data. An unauthenticated attacker could enumerate emails and leak names, phone numbers and roles.
Published on medium.com
I’m Hossam Hamada, I recently discovered a security vulnerability through a bug bounty program on HackerOne, and I’d like to walk you through how I found 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
Impact
An unauthenticated attacker could enumerate email addresses and leak real users' full names, phone numbers and roles, as demonstrated on company employees.
What the attacker needed
A free account on the subdomain; knowledge of a target email address
The fix
The endpoint was fixed by the company after the report.
How it was found
- Register an account on the subdomain and submit the application form with an optional Owner.
- In Burp Suite request history, find the GraphQL request that creates the Owner.
- Resend the same request with the same data and note the same userID is returned.
- Change only the email address and observe a new Owner with a different userID is created.
- Submit an Owner creation request using an email already used before and receive the existing user's full details.
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 sign up, the server should create a new record for you. Here, if the email was already in the system, the server sent back the existing person's details instead of making a new record. That let anyone who knew or guessed an email address see private information about that person.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.