Skip to content
Path traversal Advisory Advanced CVE-2025-24104

Managed Configuration: Restoring a maliciously crafted backup file may lead to modification of protected system files (CVE-2025-24104)

A maliciously crafted backup file could be used to modify protected system files during restore. The issue was addressed with improved handling of symlinks.

Hichem Maloufi Follow

Originally disclosed on Apple

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

Description: This issue was addressed with improved handling of symlinks.

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 Hichem Maloufi. 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 improper validation of symbolic links during backup restoration allowed a crafted backup to write to protected system locations.

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.

A backup file is a copy of your phone's data that you can restore later. If someone tricks you into restoring a tampered backup, it could change important system files that are normally protected. The fix makes the restore process handle symbolic links (shortcuts to files) more safely.

What is Path traversal?

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.

More by Hichem Maloufi

View all

1 more disclosed report, 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.

Path traversal and file inclusion

The lesson behind this report.

Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.