Incorrect authorization in SiteIsolation (CVE-2026-79191)
An early return in the browser's initiator-origin check skips process-lock validation for opaque origins in MHTML subframes, so a compromised MHTML renderer can commit a navigation with a forged precursor origin. That forged origin then lands in the process's committed origins list, letting the compromised process pass later origin checks and spoof the source origin of cross-origin postMessage calls.
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. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A security bypass in VerifyInitiatorOrigin potentially allows a compromised MHTML renderer process to skip process-lock validation checks on opaque initiator origins for MHTML subframes. By supplying an opaque origin containing an arbitrary, attacker-forged precursor origin, the renderer can successfully commit a navigation with the spoofed precursor. This weakness allows the compromised process to register the forged precursor origin within the ChildProcessSecurityPolicy's committed origins list, bypassing subsequent Site Isolation defenses.
Affected files:
content/browser/renderer_host/ipc_utils.cccontent/browser/renderer_host/render_frame_host_impl.cc
Estimated timestamp from git blame: 2024-06-14
Root Cause Analysis
In content/browser/renderer_host/ipc_utils.cc, VerifyInitiatorOrigin is responsible for ensuring that a renderer process is authorized to host the initiator origin of a navigation. However, the function contains an early return that short-circuits the check if the initiator origin is opaque and the target frame is an MHTML subframe:
// content/browser/renderer_host/ipc_utils.cc
if (initiator_origin.opaque()) {
...
if (current_rfh && current_rfh->IsMhtmlSubframe()) {
return true;
}
}
auto* policy = ChildProcessSecurityPolicyImpl::GetInstance();
if (!policy->HostsOrigin(process_id, initiator_origin)) {
...
}
Because the browser returns true early on line 112, it skips the subsequent HostsOrigin check. This allows a compromised MHTML process to supply an opaque origin wrapping an arbitrary, forged precursor origin (such as https://victim.example) without triggering a process termination.
During navigation commit, RenderFrameHostImpl::CanCommitOriginAndUrl similarly allows opaque origins to commit in an MHTML subframe if it resides in the same SiteInstance as the main frame, which also skips standard process-lock checks on the precursor tuple.
Upon commit, RenderFrameHostImpl::UpdatePermissionsForNavigation registers the committed origin via ChildProcessSecurityPolicyImpl::AddCommittedOrigin, adding opaque{precursor=https://victim.example} to the process's committed_origins_ list. This enables the compromised process to pass subsequent HostsOrigin checks for the spoofed precursor origin, allowing it to bypass cross-origin boundaries (such as spoofing the source origin in postMessage calls).
Potential Steps to Trigger the Vulnerability
Note: These steps are based on static code analysis; our analysis does not currently include a running proof of concept.
- A user loads a local or downloaded MHTML archive containing an
<iframe>subframe S. - The compromised renderer process hosting the MHTML document sends a
FrameHost::BeginNavigationIPC targeting subframe S with:common_params.url = "about:blank"common_params.initiator_originset to an opaque origin with a forged precursor ofhttps://victim.example.
VerifyInitiatorOrigindetectsIsMhtmlSubframe()is true and accepts the forged initiator origin without validation.- Since the URL is
about:blank, the browser derives the commit origin directly from the initiator origin, preserving the forged precursor. - The navigation completes.
ChildProcessSecurityPolicyregisters the originopaque{precursor=https://victim.example}within the process's committed origins. - The compromised renderer then calls
RouteMessageEvent(postMessage) targetinghttps://victim.examplewith the spoofed source origin, which successfully passes theHostsOriginchecks inRenderFrameProxyHost.
Suggested Remediation
To remediate this issue, the browser should ensure that the precursor of any opaque initiator origin supplied by an MHTML subframe is validated against the process lock of the MHTML renderer process instead of being skipped. VerifyInitiatorOrigin should check that the precursor of the initiator origin is compatible with the process lock, or enforce that the precursor matches the main frame's origin (or is otherwise authorized), rather than returning true unconditionally.
Evaluated with Chrome root at commit: 5133b93d189b383c37805b1cf3a9d2dbfe8d7379
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 origin check returns true early for opaque initiator origins in MHTML subframes, skipping the HostsOrigin process-lock check, and the commit path likewise accepts opaque origins without validating the precursor.
Impact
A renderer that is already compromised could bypass Site Isolation boundaries and spoof the source origin of cross-origin postMessage calls; the text notes the analysis is static and no running proof of concept exists.
What the attacker needed
Victim opens an MHTML archive; attacker already controls the renderer process
The fix
The origin check should validate the precursor of an opaque initiator origin from an MHTML subframe against the renderer's process lock, or require it to match the main frame's origin, instead of returning true unconditionally.
How it was found
- A user opens an MHTML archive that contains an iframe subframe.
- The compromised renderer sends a BeginNavigation message for that subframe with an about:blank URL and an opaque initiator origin carrying a forged precursor.
- The origin check sees an MHTML subframe and accepts the forged initiator origin without validation.
- Because the URL is about:blank, the commit origin is taken from the initiator origin, keeping the forged precursor.
- The navigation commits and the forged origin is added to the process's committed origins list.
- The renderer sends a postMessage to the victim origin with the spoofed source origin, which passes the origin checks.
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.
A browser keeps each website in its own separate process so one site cannot pretend to be another. This report says a special kind of saved web page (an MHTML archive) can trick the browser into believing its process is allowed to act as a different website. The catch is that the attacker must already control that process, which normally means they have already found another bug.
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.