Idor in google product
An endpoint that deletes shareable files did not check whether the caller owned the file, so any authenticated user could delete another user's file by supplying its identifier. The identifier is not guessable, but it becomes visible in the URL when a victim shares the file.
POST /u/4/deleteShareable?appVersion=20190926020020 HTTP/1.1 Host: datastudio.google.com Connection: close Content-Length: 54 Sec-Fetch-Mode: cors Origin: https://datastudio.google.com User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36 Content-Type…
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 delete endpoint authorised the request only by login session and did not verify that the requesting user owned the file identified by the id parameter.
Impact
An authenticated attacker who learns a file's identifier could delete another user's file; the identifier is not guessable, so the victim must have shared the file first.
What the attacker needed
Attacker has an account; victim has shared the file; attacker knows the file identifier
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 share a file, the service gives it a long random-looking name (an identifier) so it can be found again. This report says the delete function only checked that you were logged in, not that the file was yours, so anyone who saw that identifier could delete the file. The identifier is hard to guess, but it appears in the web address when the file is shared.
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.