Skip to content
Info disclosure Write-up Intermediate

CloudKit Share Records leak the title of private iCloud files

CloudKit Share Records for iCloud documents leaked the document title via an unauthenticated API call, even when the sharing setting was 'Only people you invite'. An attacker who knew the document's ShortGUID could retrieve the title without any access to the document.

David Schütz Follow

Published on feed.bugs.xdavidhu.me

CloudKit Share Records of all iCloud documents/files leak the document’s/file’s title via the records/resolve API call, even when Who can access is set to Only people you invite. This issue affects iCloud documents/files of all type, including Pages, Number, Keynote, and files in iCloud Drive.

David Schütz, on feed.bugs.xdavidhu.me

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 CloudKit records/resolve endpoint did not enforce access controls on the share record, returning the title field to unauthenticated users.

Impact

An attacker who knows a file's ShortGUID could read the title of a private iCloud document without having access to it.

What the attacker needed

File shared with at least one person; attacker knows the file's ShortGUID

The fix

The issue was fixed by Apple, as confirmed by the reporter after testing.

How it was found

  1. Log in to iCloud and visit the Pages web app.
  2. Create a new document, set a custom title, and make changes to trigger a save.
  3. Share the file with a specific email address and set 'Who can access' to 'Only people you invite'.
  4. Extract the ShortGUID from the generated share link.
  5. Send an unauthenticated HTTP request to the records/resolve endpoint with the ShortGUID.
  6. Observe that the file's current title is returned in the response.

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.

When you share an iCloud document, the service creates a record that includes the document's title. The title was supposed to be hidden from people who don't have access, but a public API endpoint returned it to anyone who knew a special identifier for the document. This meant that if someone learned that identifier, they could see the title of a private document.

What is Info disclosure?

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

More by David Schütz

View all

6 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.

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.