Advertisers able to identify individual consumers who visited their ads (Microsoft bug bounty)
An API endpoint allowed changing a query parameter to retrieve a hash value (ANID) associated with any user, and another endpoint allowed converting an email to a PUID. An attacker could combine these to link email addresses to advertising identifiers, enabling advertisers to identify individual consumers who visited their ads.
Today, I would like to talk about a vulnerability I found on some wired value that once exploited allowed advertises to see the email of any logged-in user that visited their ad. Microsoft fixed this vulnerability in February 2024 and customers are already protected.
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 attacker could enumerate email addresses to obtain PUIDs and, if also an advertiser, convert PUIDs to ANIDs to identify consumers who visited their ads.
What the attacker needed
Access to the API endpoints; advertiser account (for full impact)
The fix
The vulnerability was fixed by Microsoft in February 2024.
How it was found
- Observe a hash value in a cookie and an API returning the same hash.
- Change the API's query parameter to retrieve a different hash value.
- Find that the hash is an advertising identifier (ANID) shared with advertisers.
- Discover another API that converts an email address to a PUID.
- Combine the two to link emails to ANIDs.
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.
This report describes two separate flaws. First, a web address (API) let the researcher change a number in the request to get a different user's identifier. Second, another request could turn an email address into a different identifier. Together, these let someone connect an email address to an advertising ID, which could then be used to track which ads a person saw.
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.