Skip to content
UI spoofing Advisory Intermediate CVE-2024-2629

Incorrect security UI in iOS (CVE-2024-2629)

Chromium for iOS shows a download confirmation dialog for iOS configuration profiles without indicating the origin of the request, and this dialog can be triggered from a background tab. An attacker could trick a user into believing the request comes from a trusted site and initiate a profile download.

Muneaki Nishimura Follow

Originally disclosed on Chrome VRP

Bounty$2,000 Medium View original
  • Fix shipped in 3 months

VULNERABILITY DETAILS
When receiving a response with a MIME type of "application/x-apple-aspen-config", Chromium for iOS shows a confirmation dialog to ask whether to download the iOS configuration profile, and after that, opens SFSafariViewController.
https://source.chromium.org/chromium/chromium/src/+/main:ios/chrome/browser/download/model/safari_download_tab_helper.mm;l=14

This process can be invoked from an inactive tab in the background, and the confirmation dialog doesn't show the caller's origin, so it can impersonate as if the active tab in the foreground is asking to download the iOS configuration profile.

VERSION
Chrome Version: 120.0.6099.119 stable
Operating System: iOS 17.1.2

REPRODUCTION CASE
The following URL is a page to reproduce the spoofing.
https://csrf.jp/2024/mobileconfig/

This page opens "google.com" in a new window, and a few seconds later, this page itself moves to the other URL that returns MIME type of "application/x-apple-aspen-config".
At this time, Chromium shows a confirmation dialog on the window of "google.com", not on the attacker's window.
If the user is tricked into believing that the request is from Google and presses the "Continue" button, a configuration profile download process is initiated on the SFSafariViewController.

CREDIT INFORMATION
Reporter credit: Muneaki Nishimura (nishimunea)

The original report as published on the Chromium issue tracker, by Muneaki Nishimura (nishimunea). Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

Impact

An attacker could trick a user into downloading a malicious configuration profile by making the dialog appear to come from a trusted site.

What the attacker needed

Victim uses Chrome on iOS; victim visits attacker's page; victim presses 'Continue' on dialog

How it was found

  1. Open a page that opens google.com in a new window.
  2. After a few seconds, the page navigates to a URL that returns MIME type application/x-apple-aspen-config.
  3. Chromium shows a confirmation dialog on the google.com window, not on the attacker's window.
  4. If the user presses 'Continue', a configuration profile download process is initiated in SFSafariViewController.

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 a website tries to make you download a special file that configures your iPhone, Chrome shows a pop-up asking if you want to continue. This pop-up doesn't say which website asked for the download, and it can appear even if the request came from a different tab you aren't looking at. So a malicious site could make it look like a trusted site (like Google) is asking you to download something.

What is UI spoofing?

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.

More by Muneaki Nishimura

View all

2 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Clickjacking and UI spoofing

The lesson behind this report.

The interface lies to the user: a framed page catches their clicks, or a browser shows the wrong address or a fake prompt. Paid when it leads to a sensitive action or convincing phishing.