Skip to content
IDOR Write-up Beginner

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.

Philippe Harewood Follow

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.

Philippe, on philippeharewood.com

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

  1. Log in as the first user and note their numeric ID and access token.
  2. Query the subscribed bugs using the 'me' alias with the first user's token to see their subscriptions.
  3. Log in as a second user and query their own subscriptions to confirm they are empty.
  4. Using the second user's token, query the subscriptions of the first user by their numeric ID.
  5. 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.

More by Philippe Harewood

View all

56 more disclosed reports, best first.

More from Meta

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Insecure direct object reference (IDOR)

The lesson behind this report.

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.