Skip to content
Mobile Advisory Advanced CVE-2024-54525

MobileBackup: Restoring a maliciously crafted backup file may lead to modification of protected system files (CVE-2024-54525)

A logic flaw in the backup restore process allowed a maliciously crafted backup file to modify protected system files. An attacker could exploit this to alter files that should be off-limits.

Andrew James Gonzalez Follow

Originally disclosed on Apple

Impact: Restoring a maliciously crafted backup file may lead to modification of protected system files

Description: A logic issue was addressed with improved file handling.

Available for: iPhone XS and later, iPad Pro 13-inch, iPad Pro 12.9-inch 3rd generation and later, iPad Pro 11-inch 1st generation and later, iPad Air 3rd generation and later, iPad 7th generation and later, and iPad mini 5th generation and later

The original report as published on Apple's security release notes, by Andrew James Gonzalez. 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 a logic error in the file handling during backup restoration that failed to properly restrict which files could be modified.

What the attacker needed

Victim restores a malicious backup file

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 restore an iPhone from a backup, the system copies files back onto the device. A bug in how it handled those files meant a tampered backup could change files that are normally protected from modification. This could let someone with a malicious backup file make unauthorised changes to the system.

What is Mobile?

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.

More by Andrew James Gonzalez

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.

Mobile app vulnerabilities

The lesson behind this report.

Flaws specific to Android and iOS apps: exported components, deep links, WebViews and data left on the device.