Glassdoor’s IDOR vulnerability to retrieve email addresses of a
The uploadResume endpoint accepted a base64-encoded job alert key containing a sequential job alert ID and returned the associated email address without requiring authentication. An attacker could enumerate IDs to harvest email addresses of many users.
Published on medium.com
As a bug bounty hunter, I grind through endless hours chasing vulnerabilities. But this gem?
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 endpoint used a client-supplied, base64-encoded job alert ID to look up the associated email without checking authentication or ownership.
Impact
An attacker could have methodically enumerated IDs in reverse order, potentially harvesting millions of users’ email addresses from Glassdoor’s job alert system.
What the attacker needed
A job alert email with a link; no authentication needed
The fix
Glassdoor patched the bug almost immediately, likely by adding authentication and ownership checks to the endpoint.
How it was found
- Receive the job alert email containing a link to /uploadResume with a jobAlertEncryptedKey parameter.
- Decode the jobAlertEncryptedKey from base64 to see the job alert ID.
- Change the job alert ID to another sequential value and re-encode it in base64.
- Request the modified URL without authentication and observe the response containing an email address.
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 website used a simple number to identify each job alert, and that number was hidden inside a base64 string (a way of encoding text). Because the number was sequential and the page did not check who was asking, anyone could change the number and see other people's email addresses. This is called an insecure direct object reference (IDOR): the site trusts a user-supplied identifier without verifying permission.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.