Skip to content
Access control Advisory Intermediate CVE-2024-23240

Photos: Shake-to-undo may allow a deleted photo to be re-surfaced without authentication (CVE-2024-23240)

A flaw in the Photos app's shake-to-undo feature could allow a deleted photo to be brought back without authentication. The issue was addressed with improved checks.

Harsh Tyagi Follow

Originally disclosed on Apple

Impact: Shake-to-undo may allow a deleted photo to be re-surfaced without authentication

Description: The issue was addressed with improved checks.

Available for: iPhone XS and later, iPad Pro 12.9-inch 2nd generation and later, iPad Pro 10.5-inch, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 6th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Harsh Tyagi. Images and videos are our own copies; raw HTML is shown as text. View it on Apple's security release notes.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the undo mechanism did not verify that the user was authorised to restore a deleted photo.

What the attacker needed

Physical access to unlocked device

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 report has not been written yet. The Original tab links to the source.

When you delete a photo on an iPhone, it normally goes to a 'Recently Deleted' folder and requires authentication to recover. This bug meant that shaking the phone to undo an action could bring back a deleted photo without asking for a password or Face ID. It was fixed by adding better checks.

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.

More by Harsh Tyagi

View all

2 more disclosed reports, best first.

More from Apple

View all

The newest disclosed reports for this program.

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.