How I accidentally found an IDOR bug in Google slides and rewarded $3,133.70
An IDOR vulnerability in Google Slides' Audience Tools allowed anyone to modify other users' submitted questions by replacing the clientId in the request. No authentication or guessing was needed because the clientId was exposed in the page.
Published on medium.com
It was a lazy afternoon at the office. After lunch, I was sitting at my desk, preparing slides for an event speech on Google Slides.
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 server trusted the client-supplied clientId to identify the question to modify, without verifying that the requester was the original author.
Impact
An unauthenticated attacker could modify any audience question without user interaction, as the clientId was automatically provided by the application.
What the attacker needed
Access to the audience link; no authentication needed
How it was found
- Start an Audience Tools session in Google Slides Presenter View.
- Copy the audience link and open it in incognito mode.
- Submit a question from account-1 and note the clientId in the POST request.
- In another browser, submit a question from account-2 and intercept the request.
- Replace account-2's clientId with account-1's clientId and forward the request.
- Observe that account-1's question is modified.
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 submit a question in Google Slides' audience Q&A, the request includes a unique identifier called clientId. The server used this identifier to decide which question to update, without checking if the person making the request actually owned that question. So an attacker could change someone else's question by using that person's clientId, which was visible to anyone viewing the presentation.
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.