Insufficient policy enforcement in Network (CVE-2026-13894)
The HTTPS upgrade interceptor failed to check Advanced Protection status when building its interstitial state, so strict HTTPS-First Mode warnings were skipped for certain HTTP URLs such as non-default ports and local IPs. A network attacker could then serve plaintext content to Advanced Protection users while the settings UI still showed protections as enforced.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 3 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 without the Chrome Security team.
Overview: The HttpsUpgradesInterceptor fails to check Advanced Protection (AP) status when manually constructing its interstitial state. Consequently, AP users silently bypass HTTPS-First Mode strict warnings for certain HTTP navigations, such as non-default ports or local IPs. This allows a network attacker to serve malicious plaintext payloads to users whose settings UI falsely indicates protections are enforced.
Affected files:
chrome/browser/ssl/https_upgrades_interceptor.ccchrome/browser/ssl/https_upgrades_util.ccchrome/browser/ssl/https_upgrades_navigation_throttle.cc
Estimated timestamp from git blame: 2024-10-22
Note: The following exploitation steps are suggested and potential. Our AI tooling agent does not currently have the ability to run or verify proof-of-concept code dynamically.
Root Cause
There is a potential logic flaw in chrome/browser/ssl/https_upgrades_interceptor.cc where HttpsUpgradesInterceptor::MaybeCreateLoader() manually populates an HttpInterstitialState struct to determine if HTTPS-First Mode (HFM) protections apply to a navigation.
While doing so, it sets the enabled_by_pref flag based on the user's prefs::kHttpsOnlyModeEnabled setting, but it entirely omits querying the AdvancedProtectionStatusManager to set the enabled_by_advanced_protection flag.
Because the Advanced Protection status was decoupled from the kHttpsOnlyModeEnabled preference (via the kHttpsFirstModeForAdvancedProtectionUsers feature), an AP user's enabled_by_pref will typically evaluate to false. Without the enabled_by_advanced_protection flag set, the interceptor incorrectly assesses that strict HFM rules do not apply to the current profile.
This causes the interceptor to incorrectly exempt specific categories of HTTP URLs from HTTPS upgrades and strict warnings, including:
- Non-default ports:
IsStrictInterstitialEnabled()evaluates tofalse, allowing HTTP requests to ports other than 80 to bypass upgrades. - Non-unique hostnames / Local IPs:
ShouldExemptNonUniqueHostnames()evaluates totrue, allowing plaintext navigations to RFC1918 IPs or single-label hosts. - Content Setting Exceptions: Upgrades are suppressed if a
MIXEDSCRIPT=ALLOWcontent setting is present because it only checks!interstitial_state_->enabled_by_pref.
Simultaneously, GeneratedHttpsFirstModePref correctly checks the AP status to display HFM as "Enforced by Advanced Protection" in the Chrome Settings UI, creating a direct security-UI mismatch.
Potential Attacker Steps
An attacker could exploit this under the following suggested sequence of events:
- The attacker gains Man-in-the-Middle (MitM) positioning on the local network of a user enrolled in Advanced Protection.
- The attacker tricks the user into clicking a link or otherwise navigating to an HTTP URL that falls into one of the exempted categories, such as a non-default port (e.g.,
http://example.com:8080/) or a local IP address. - The browser begins the navigation. In
MaybeCreateLoader(), theHttpsUpgradesInterceptorfails to recognize the user's AP status. It treats the navigation as non-strict and explicitly exempts the URL from an HTTPS upgrade. - The HTTP request is passed to the network stack and transmitted in plaintext.
- The MitM attacker intercepts the request and responds with a malicious payload. The browser silently commits the HTTP response without ever showing the HTTPS-First Mode interstitial warning.
Suggested Fix
Update HttpsUpgradesInterceptor::MaybeCreateLoader() to correctly account for Advanced Protection status. Instead of manually constructing the HttpInterstitialState struct and missing fields, it should ideally use the existing ComputeInterstitialState() utility function defined in chrome/browser/ssl/https_upgrades_util.cc.
If manual construction is strictly required due to dependency constraints, the interceptor must be updated to query safe_browsing::AdvancedProtectionStatusManagerFactory::GetForProfile(profile) and set interstitial_state_->enabled_by_advanced_protection accordingly.
Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b
Results so far have been promising, but there can be wrong deductions. If this proves to be a false positive, please close as WAI; 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 interceptor manually built the interstitial state and set only the preference-based flag, omitting the Advanced Protection flag, so strict HTTPS-First Mode rules were not applied.
Impact
A network attacker could serve malicious plaintext content to Advanced Protection users without the strict warning, while the settings UI falsely indicated that protections were enforced; the report notes the exploitation steps are suggested and potential, not verified.
What the attacker needed
Victim enrolled in Advanced Protection; attacker on the same local network; victim navigates to an exempted HTTP URL
The fix
The interceptor should use the existing ComputeInterstitialState() utility, or otherwise query the Advanced Protection status manager and set the enabled_by_advanced_protection flag.
How it was found
- The attacker gains man-in-the-middle positioning on the local network of a user enrolled in Advanced Protection.
- The attacker tricks the user into navigating to an HTTP URL in an exempted category, such as a non-default port or a local IP address.
- The browser's interceptor fails to recognise the Advanced Protection status and exempts the URL from an HTTPS upgrade.
- The HTTP request is sent in plaintext and the attacker intercepts it and responds with a malicious payload.
- The browser commits the HTTP response without showing the HTTPS-First Mode interstitial 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.
HTTPS-First Mode is a browser setting that warns you before loading a plain HTTP page, because HTTP traffic can be read and changed by anyone on the network. Advanced Protection is a stronger account setting that should make those warnings stricter. Here the browser forgot to check that stronger setting in one code path, so some HTTP pages loaded without the warning even though the settings screen said the user was protected.
What is Misconfiguration?
Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.