Skip to content
Access control Write-up Beginner

View Once Photo Re-Accessible via “Edit with AI” in Messenger

A View Once photo in Messenger, which should disappear after being viewed, could be accessed again through the 'Edit with AI' feature. An attacker could re-open and edit a photo that was meant to be permanently gone, breaking the privacy guarantee.

medium.com

Published on medium.com

Hi everyone, my name is Sameer Ali from Nepalgunj, Nepal. I’m new to Medium, and this is my write-up about a security issue I reported to Facebook.

Sameer Ali, on 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 'Edit with AI' feature did not check whether the underlying media was a View Once photo that had already been consumed, so it loaded the original image again.

Impact

This breaks the core privacy model of View Once media, allowing a user to re-open a photo that should have disappeared permanently.

What the attacker needed

Messenger account; Receive a View Once photo; Photo already viewed and disappeared

The fix

The issue was fixed by Facebook, as stated in the timeline.

How it was found

  1. Ask another user to send a View Once photo in Messenger.
  2. Open and view the View Once photo normally; it disappears after one view.
  3. After the image disappears, long-press the message bubble where the View Once photo was shown.
  4. The 'Edit with AI' option appears.
  5. Tap 'Edit with AI' and the disappeared View Once photo becomes viewable and editable again.

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.

View Once is a feature where a photo disappears after the recipient looks at it once, like a self-destructing message. The bug meant that even after the photo vanished, a menu option called 'Edit with AI' could bring it back, so the photo wasn't really gone. This matters because people trust that View Once photos are temporary and private.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.