View-The-Bug-Subscriptions-For-Any-Oculus-User
The GraphQL endpoint allowed a user to query another user's bug subscriptions by supplying that user's numeric ID instead of the 'me' alias. An attacker could view which bugs any Oculus user had subscribed to, information intended to be private.
Published on philippeharewood.com
Within https://developer.oculus.com/bugs/, there is the ability to subscribe to Oculus bugs created by users. However it is possible to query the subscribed bugs for any user.
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 GraphQL resolver for subscribed_external_tasks did not verify that the requested user ID matched the authenticated user, allowing access to other users' subscriptions.
Impact
An attacker could view the bug subscriptions of any Oculus user, which was intended to be private.
What the attacker needed
An Oculus developer account; knowledge of the victim's numeric user ID
The fix
The issue was fixed by Facebook.
How it was found
- Log in as the first user and note their numeric ID and access token.
- Query the subscribed bugs using the 'me' alias with the first user's token to see their subscriptions.
- Log in as a second user and query their own subscriptions to confirm they are empty.
- Using the second user's token, query the subscriptions of the first user by their numeric ID.
- Observe that the first user's subscriptions are returned.
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 let you ask for your own list of subscribed bug reports, but it also accepted a request for someone else's list if you knew their user number. The site did not check that the number belonged to you, so you could see what bugs other people were following.
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.