Skip to content
Info disclosure Write-up Advanced

CVE-2024-40798 – an app may be able to read Safari's browsing history

A sandboxed app on Apple platforms could read Safari's browsing history because sensitive information was not properly redacted. An attacker who gets a malicious app onto the device could learn which sites the user had visited.

nvd.nist.gov

Published on nvd.nist.gov

The original lives on nvd.nist.gov

We do not hold its text, 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 a missing or incomplete redaction of Safari history data exposed to other apps, allowing a sandboxed app to read it.

What the attacker needed

Malicious or untrusted app installed; affected OS version

The fix

It was fixed in macOS Sonoma 14.6, iOS 16.7.9, iPadOS 16.7.9, macOS Monterey 12.7.6 and macOS Ventura 13.6.8 by improving redaction of sensitive information.

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.

Apps on iPhones and Macs are meant to be kept apart so one app cannot see another app's private data. Here, a flaw let an ordinary app peek at the list of websites the user had opened in Safari. The fix makes the system hide that data properly.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.