Missing authorization in SiteIsolation (CVE-2026-78953)
The browser process blocked cookie access for sandboxed PDF renderer processes only on the eager navigation path, but the lazy interface-binding path had no PDF check. A compromised PDF renderer could therefore obtain a cookie manager interface and read or modify non-HttpOnly cookies for the hosting origin.
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 compromised PDF renderer process can bypass storage access controls by lazy-binding a RestrictedCookieManager interface. Although cookie/storage access is blocked for PDF processes on the eager navigation commit path, the lazy path via BrowserInterfaceBroker lacks any PDF-specific verification. This allows a compromised PDF renderer to retrieve and modify non-HttpOnly cookies for the hosting origin.
Affected files:
content/browser/renderer_host/render_frame_host_impl.cccontent/browser/browser_interface_binders.cc
Estimated timestamp from git blame: 2024-06-26
Root Cause Analysis
In Chromium, PDF documents are isolated into specialized, sandboxed renderer processes. These processes are intended to operate under a strict storage access block. ChildProcessSecurityPolicyImpl::IsAccessAllowedForPdfProcess explicitly returns false for AccessType::kCanAccessDataForCommittedOrigin to prevent PDF renderers from accessing passwords, storage, or cookies for the hosting origin.
To enforce this, the eager navigation commit-time path in RenderFrameHostImpl::SendCommitNavigation checks should_block_storage_access_for_pdf (based on GetSiteInstance()->GetSiteInfo().is_pdf()) and skips binding a RestrictedCookieManager:
// content/browser/renderer_host/render_frame_host_impl.cc
bool should_block_storage_access_for_pdf =
GetSiteInstance()->GetSiteInfo().is_pdf();
...
if (common_params->url.SchemeIsHTTPOrHTTPS() && !origin_to_commit.opaque() &&
!should_block_storage_access_for_pdf && ...) {
cookie_manager_info = mojom::CookieManagerInfo::New();
...
BindRestrictedCookieManagerWithOrigin(...); // <-- Skipped for PDF
}
However, the lazy binding path—used when a renderer explicitly requests the interface via the BrowserInterfaceBroker—completely lacks any equivalent check.
In content/browser/browser_interface_binders.cc, the broker is registered without any PDF-specific constraints:
map->Add<network::mojom::RestrictedCookieManager>(
&BindRenderFrameHostImpl<
&RenderFrameHostImpl::BindRestrictedCookieManager>);
When invoked, this routes to RenderFrameHostImpl::BindRestrictedCookieManager, which binds the manager using the frame's last committed origin without verifying whether the process is a PDF process, and without querying ChildProcessSecurityPolicy:
void RenderFrameHostImpl::BindRestrictedCookieManager(
mojo::PendingReceiver<network::mojom::RestrictedCookieManager> receiver) {
BindRestrictedCookieManagerWithOrigin(
std::move(receiver), GetIsolationInfoForSubresources(),
GetLastCommittedOrigin(), GetCookieSettingOverrides());
}
Because the subsequent layers in StoragePartitionImpl and NetworkContext assume that the browser process has already enforced access control before requesting the RestrictedCookieManager from the out-of-process Network Service, the interface is successfully bound and returned to the renderer.
Potential Attack Scenario
(Note: These are suggested/potential steps; our tooling does not have the ability to run code or verify a live exploit)
- An attacker uploads a malicious PDF file onto a target origin (e.g.,
https://victim.example/malicious.pdf). - A user navigates to the PDF. The browser spawns an isolated PDF renderer process for it.
- The attacker exploits a memory corruption vulnerability (such as a PDFium bug) in the sandboxed PDF renderer process to achieve arbitrary code execution within the renderer.
- The compromised PDF renderer requests the 'network.mojom.RestrictedCookieManager' interface via its
BrowserInterfaceBrokerpipe. - The browser process maps the request to
RenderFrameHostImpl::BindRestrictedCookieManagerand binds it using the frame's last committed origin (https://victim.example) without any PDF validation. - The compromised PDF renderer uses the resulting
RestrictedCookieManagerinterface to read and write non-HttpOnly cookies forhttps://victim.example, bypassing the PDF isolation storage restrictions.
Suggested Fix
Add a check in RenderFrameHostImpl::BindRestrictedCookieManager to prevent PDF frames from lazy-binding the interface. If GetSiteInstance()->GetSiteInfo().is_pdf() is true, the request should be blocked (and ideally, a bad message should be reported to terminate the compromised renderer):
void RenderFrameHostImpl::BindRestrictedCookieManager(
mojo::PendingReceiver<network::mojom::RestrictedCookieManager> receiver) {
if (GetSiteInstance()->GetSiteInfo().is_pdf()) {
mojo::ReportBadMessage('PDF processes are not allowed to access cookies.');
return;
}
BindRestrictedCookieManagerWithOrigin(
std::move(receiver), GetIsolationInfoForSubresources(),
GetLastCommittedOrigin(), GetCookieSettingOverrides());
}
Evaluated with Chrome root at commit: a2bea94528f4bd6cc57739c43fa3bb890b8367d3
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 lazy BrowserInterfaceBroker binding for RestrictedCookieManager was registered without the PDF-process check that the eager navigation commit path applies.
Impact
A compromised PDF renderer could read and modify non-HttpOnly cookies for the hosting origin, breaking the intended storage isolation; HttpOnly cookies remain out of reach and the scenario depends on a separate renderer compromise.
What the attacker needed
Attacker can host a PDF on the target origin; victim opens the PDF; separate memory-corruption bug in PDF code
The fix
The binding should reject requests from PDF frames and report a bad message so the compromised renderer is terminated.
How it was found
- An attacker places a malicious PDF on a target origin.
- A user opens the PDF and the browser starts an isolated PDF renderer process.
- The attacker uses a separate memory-corruption bug to run code inside that PDF renderer.
- The compromised renderer asks for the RestrictedCookieManager interface through its broker pipe.
- The browser binds the interface using the frame's last committed origin without checking that the process is a PDF process.
- The renderer reads and writes non-HttpOnly cookies for the hosting origin.
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.
Chromium opens PDF files in a separate, heavily restricted process so that a bug in the PDF viewer cannot reach the site's cookies or stored data. This report says one of the two ways that process can ask the browser for a cookie-handling service was never checked, so a PDF process that an attacker had already taken over could ask for it and get it. The attacker still needs a separate memory-corruption bug in the PDF code first.
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.