Incorrect provision of specified functionality in Mobile (CVE-2026-106361)
Chrome for iOS fails to enforce non-overridable SSL interstitials for HSTS-preloaded hosts, because the overridability decision is based on the system trust result rather than Chromium's HSTS state. A network attacker can present a self-signed certificate and users are shown a 'Proceed' link, allowing them to bypass the warning and expose credentials.
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: Chrome for iOS potentially fails to enforce non-overridable (hard-fail) SSL interstitials for HSTS-preloaded hosts. This allows a network attacker to present an overridable security warning on strictly protected domains like accounts.google.com, violating RFC 6797.
Affected files:
ios/chrome/browser/ssl/model/ios_ssl_error_handler.mmios/web/security/crw_cert_verification_controller.mmios/web/navigation/crw_wk_navigation_handler.mmios/chrome/browser/web/model/chrome_web_client.mmios/chrome/browser/ssl/model/ios_ssl_blocking_page.mm
Estimated timestamp from git blame: 2019-10-23
Description
On most Chromium platforms, a certificate error on an HSTS-protected host results in a non-overridable (hard-fail) interstitial. This is enforced by consulting net::TransportSecurityState, which identifies the host as requiring strict enforcement and sets the appropriate flags in the security interstitial UI to omit the 'Proceed' link.
On iOS, however, navigation and SSL trust evaluation are handled via WKWebView and the system's SecTrust API. When an SSL error occurs, Chrome iOS determines the overridability of the error based on the system's trust result rather than its own HSTS preload data. Specifically, a recoverable failure (like a self-signed certificate) is incorrectly marked as overridable even for hosts on the HSTS preload list.
Technical Details
- Policy Determination: In
ios/web/security/crw_cert_verification_controller.mm, the methodloadPolicyForRejectedTrustResultreturnsweb::CERT_ACCEPT_POLICY_RECOVERABLE_ERROR_UNDECIDED_BY_USERfor errors like self-signed certificates (kSecTrustResultRecoverableTrustFailure). This decision is made without any check against Chromium's HSTS preload list ornet::TransportSecurityState. - State Tracking: In
ios/web/navigation/crw_wk_navigation_handler.mm, this policy is mapped to aweb::CertVerificationErrorwithis_recoverable = true. - Flag Assignment: When preparing the error page in
loadErrorPageForNavigationItem, thisis_recoverablevalue is assigned tonet::SSLInfo::is_fatal_cert_error(line 2204). - Semantic Inversion: On iOS, the
is_fatal_cert_errorflag has inverted semantics compared to other platforms:trueindicates the error is overridable (soft-fail), whilefalseindicates it is not. This is documented inios/web_view/internal/cwv_ssl_error_handler.mm(line 41). - Interstitial Display:
IOSSSLErrorHandler::ShowSSLInterstitialuses this flag to setSOFT_OVERRIDE_ENABLED(line 150). As a result, the user is presented with a 'Proceed to [host] (unsafe)' link on domains where such bypasses should be forbidden.
Potential Impact
A network attacker performing a Man-in-the-Middle (MITM) attack against HSTS-preloaded hosts (e.g., accounts.google.com) can present a self-signed certificate. Users will see an overridable warning, allowing them to bypass the security protection and expose sensitive session data or credentials to the attacker.
Potential Steps to Reproduce
- Use a proxy (like mitmproxy) to MITM
https://accounts.google.com/with a self-signed certificate. - Navigate to
https://accounts.google.com/in Chrome for iOS. - Observe the 'Your connection is not private' interstitial.
- Tap 'Advanced' and check for the existence of the 'Proceed to accounts.google.com (unsafe)' link.
Suggested Fix
Modify CRWCertVerificationController or CRWWKNavigationHandler to consult a source of HSTS state (such as a lookup in net::TransportSecurityState or a dedicated iOS-compatible HSTS list) when determining if an SSL error should be recoverable. If the host is HSTS-protected, is_recoverable should be forced to false regardless of the SecTrust result.
Evaluated with Chrome root at commit: 1a8d40fc44df2088d5945c0bf53584038aa1614a
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 iOS SSL error handler determines overridability from the system trust result alone and never consults Chromium's HSTS preload state, so HSTS-protected hosts are treated as soft-fail.
Impact
A network attacker performing a man-in-the-middle attack against HSTS-preloaded hosts could present a self-signed certificate and users would see an overridable warning, potentially exposing session data or credentials if they proceed.
What the attacker needed
Chrome for iOS; Attacker on the same network (MITM); Victim ignores the warning
The fix
The iOS certificate verification controller or navigation handler should consult HSTS state and force is_recoverable to false for HSTS-protected hosts.
How it was found
- Use a proxy to intercept the connection to accounts.google.com with a self-signed certificate.
- Open accounts.google.com in Chrome for iOS.
- Observe the certificate warning interstitial.
- Tap Advanced and check whether a Proceed link is shown.
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 uses HTTPS, your browser checks the site's certificate to make sure you are talking to the real site. Some sites, like Google accounts, are on a special list (HSTS) that tells browsers never to let you click through a certificate warning. This report says Chrome on iPhones still shows a click-through warning for those sites, so an attacker on the same network could trick you into ignoring the warning and steal your password.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.