Missing authorization in Mobile (CVE-2026-113249)
A logic flaw in Chrome for iOS lets a malicious website bypass security interstitials such as enterprise warnings and SSL warnings. An attacker can script the interstitial from a same-origin opener window and send a proceed command without any user interaction, silently allowlisting the host.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 5 months
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A logic vulnerability in Chrome for iOS potentially allows a malicious website to programmatically bypass security interstitials (e.g., Enterprise 'WARN' and SSL interstitials). This occurs because the interstitial command handler fails to verify user interaction and can be triggered via cross-window scripting when the interstitial is committed with a web origin.
Affected files:
ios/chrome/browser/enterprise/connectors/ios_enterprise_interstitial.mmios/components/security_interstitials/ios_security_interstitial_java_script_feature.mmios/components/security_interstitials/ios_blocking_page_tab_helper.mmios/web/navigation/crw_wk_navigation_handler.mm
Estimated timestamp from git blame: 2025-04-08
Summary
A potential logic vulnerability in Chrome for iOS allows a malicious website to programmatically bypass security interstitials. The issue arises from a combination of inconsistent origin assignment during error page reloads and a lack of user-interaction validation when processing script messages from the interstitial page.
Vulnerability Details
1. Origin Spoofing via loadHTMLString:baseURL:
In ios/web/navigation/crw_wk_navigation_handler.mm, the method displayErrorPageWithError:inWebView:isProvisionalLoad: determines how to load an error or interstitial page. During a second navigation or reload of a blocked URL, the logic may enter an else branch (Line 2104) that executes:
errorNavigation = [webView loadHTMLString:@"" baseURL:errorPage.failedNavigationURL];
By using the failedNavigationURL (the blocked site) as the baseURL, the WKWebView commits the interstitial document with the security origin of the blocked site. This enables an attacker-controlled page from the same origin (e.g., an opener window) to programmatically access and script the interstitial document.
2. Lack of User-Interaction Validation
The IOSSecurityInterstitialJavaScriptFeature (in ios/components/security_interstitials/ios_security_interstitial_java_script_feature.mm) acts as the dispatcher for messages sent from the interstitial's JavaScript. While it verifies that messages originate from the main frame, it fails to check the is_user_interacting property of the web::ScriptMessage.
Similarly, the command handlers for specific interstitials—such as EnterprisePageControllerClient::HandleCommand in ios/chrome/browser/enterprise/connectors/ios_enterprise_interstitial.mm and IOSSSLBlockingPage::HandleCommand in ios/chrome/browser/ssl/model/ios_ssl_blocking_page.mm—treat the CMD_PROCEED (ID 1) command as authoritative without verifying that a physical user interaction occurred.
Potential Attack Scenario
- A user on a managed device visits
https://attacker.test/opener(Tab A). - Tab A opens
https://attacker.test/warnedin a new tab (Tab B), which triggers an enterprise warning. - Tab A forces a reload of Tab B, causing the interstitial in Tab B to be committed with the
https://attacker.testorigin (as described in the Origin Spoofing section). - Since Tab A and Tab B are now same-origin, Tab A executes a script to send a proceed message to the browser process:
w.webkit.messageHandlers.IOSInterstitialMessage.postMessage({command: "1"});. - The browser process receives the command, allowlists the host
attacker.testfor the tab, and reloads the page, bypassing the security control without user consent.
Impact
- Policy Bypass: Silent defeat of administrator-configured security controls.
- Silent Allowlisting: The entire host is allowlisted for the lifetime of the tab after a single bypass.
- Audit Log Poisoning: The bypass triggers a
kBypassedevent in enterprise reporting logs, falsely attributing the action to a deliberate user decision.
Suggested Fix
- In
ios/components/security_interstitials/ios_security_interstitial_java_script_feature.mm, modifyScriptMessageReceivedto verifyscript_message.is_user_interacting()before processing sensitive commands likeCMD_PROCEED. - Review the error page loading logic in
ios/web/navigation/crw_wk_navigation_handler.mmto ensure that security-sensitive interstitials are consistently committed in a restricted origin (e.g.,file:///or a unique opaque origin).
Evaluated with Chrome root at commit: b3153093eb3c78c3e88ccf562bcbc20437a04b0e
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
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 the combination of loading the interstitial with the blocked site's origin as its base URL and failing to check that a script message came from a real user interaction.
Impact
An attacker could silently defeat administrator-configured security controls, allowlist the entire host for the tab's lifetime, and poison audit logs by making the bypass look like a deliberate user decision.
What the attacker needed
Chrome for iOS; managed device with enterprise policy; victim visits attacker page; attacker page opens a second tab
The fix
The report suggests checking that a script message came from a real user interaction before processing sensitive commands, and ensuring security interstitials are committed in a restricted or opaque origin.
How it was found
- The user on a managed device visits an attacker page in one tab.
- That tab opens a second tab to a URL that triggers an enterprise warning.
- The first tab forces a reload of the second tab so the interstitial is committed with the attacker's origin.
- Because both tabs are now same-origin, the first tab runs a script that posts a proceed command to the browser.
- The browser allowlists the host and reloads the page, bypassing the warning.
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.
Security interstitials are warning pages that appear before a risky site loads, asking you to confirm you want to continue. This report found that a malicious page could open such a warning in another tab, then use a script to press the 'proceed' button for the user, so the warning is skipped without the person ever clicking anything.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.