Skip to content
IDOR Write-up Beginner

Meta Bug Bounty: Unauthorized Access and Control Over Private Ima

The Meta AI platform failed to check ownership when transferring an image set, so an attacker could change the image_set_id to another user's ID and take control of their private AI-generated images. This allowed access to private images, stealing ownership, and blocking the original user.

ali jaafer Follow

Published on allawe.medium.com

During a recent security audit of the Meta AI platform (https://www.meta.ai), I discovered a critical vulnerability that allowed me to gain access to other users’ private AI-generated images and even take ownership of them. This was possible through a classic but often overlooked web security flaw: Insecure Direct…

ali jaafer, on allawe.medium.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 backend did not verify that the requesting user owned the image_set_id before allowing a transfer action.

Impact

An attacker could access private images, steal ownership, and block the original user from accessing their images, though the text does not state whether any defence limited the attack.

What the attacker needed

A Meta AI account; ability to intercept requests; knowledge of another user's image_set_id

The fix

The backend should validate that the requesting user owns the image_set_id before processing any transfer or access action.

How it was found

  1. Create an image using the AI image generation feature.
  2. Initiate a transfer action for the image.
  3. Intercept the transfer request with a proxy tool.
  4. Replace the image_set_id with another user's ID.
  5. Forward the modified request, which transfers the image to the attacker's account.

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 use a website, it often refers to your data by a number or ID. If the website does not check that the ID belongs to you before acting on it, someone else can swap in a different ID and access or take over your data. This is called an insecure direct object reference (IDOR).

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.

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.