Insufficient policy enforcement in DevTools (CVE-2026-8004)
The DevTools Storage.setInterestGroupTracking method registers a profile-wide observer that leaks Protected Audience activity across all tabs, and Storage.getInterestGroupDetails fails to check enterprise policies via MayAttachToURL(). A malicious extension with debugger permission could monitor sensitive bidding data and browsing history from restricted origins, bypassing tab isolation and enterprise policies.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 42 days
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The Storage.setInterestGroupTracking DevTools method registers a profile-wide observer that leaks Protected Audience activity across all tabs. Furthermore, Storage.getInterestGroupDetails fails to verify the target URL against enterprise policies using MayAttachToURL(). This allows a malicious extension to monitor sensitive bidding data and browsing history from restricted origins, bypassing tab isolation and enterprise policies.
Affected files:
content/browser/devtools/protocol/storage_handler.cccontent/browser/interest_group/interest_group_manager_impl.cccontent/browser/interest_group/interest_group_manager_impl.h
Estimated timestamp from git blame: 2024-11-25
Summary
There is a potential security vulnerability in the DevTools StorageHandler where a chrome.debugger extension attached to a single allowed tab can receive a real-time stream of Protected Audience (formerly FLEDGE) activity across the user's entire browsing session. This bypasses enterprise runtime_blocked_hosts policies and tab isolation.
Technical Details
- Profile-Wide Observation: In
content/browser/devtools/protocol/storage_handler.cc, theSetInterestGroupTrackingInternalmethod registers theStorageHandleras an observer onInterestGroupManagerImpl. BecauseInterestGroupManagerImplis scoped to theStoragePartition(the entire profile), the observer listens for all interest group events globally. - Unfiltered Broadcasting: When an interest group event occurs in any tab,
InterestGroupManagerImpl::NotifyInterestGroupAccessediterates through all observers unconditionally. It does not filter byRenderFrameHostor tab ID. TheStorageHandler::OnInterestGroupAccessedthen forwards the event details (includingowner_originandname) to the DevTools frontend. - Missing Authorization Check: The
StorageHandler::GetInterestGroupDetailsmethod retrieves the full interest group configuration using an(owner_origin, name)pair. Unlike other sensitive methods inStorageHandler(e.g.,GetCookies, which filters results throughNetworkHandler::CanAccessCookieandclient_->MayAttachToURL()),GetInterestGroupDetailsentirely omits theMayAttachToURL()check.
Because ExtensionDevToolsClientHost overrides MayAttachToURL to enforce the runtime_blocked_hosts enterprise policy, this omission allows an extension to retrieve sensitive ad-tech user segmentation data (userBiddingSignals) and the exact URL where the user joined the group (joiningOrigin, effectively leaking browsing history) from domains it is explicitly blocked from accessing.
Potential Reproduction Steps
Note: These are suggested steps; our setup does not have the ability to execute code to verify them.
- An attacker creates a Chrome extension with the
debuggerpermission. - The victim installs the extension in an environment with enterprise policies blocking access to
restricted-domain.com. - The extension attaches its debugger to a benign, permitted tab:
chrome.debugger.attach({tabId: allowedTabId}, '1.3'). - The extension enables interest group tracking:
chrome.debugger.sendCommand({tabId: allowedTabId}, 'Storage.setInterestGroupTracking', {enable: true}). - The extension listens for
chrome.debugger.onEventwith the methodStorage.interestGroupAccessed. - The victim opens a new tab and navigates to
restricted-domain.com, which callsnavigator.joinAdInterestGroup(). - The extension receives the event containing the
ownerOriginandnamefrom the restricted tab. - The extension uses the observed
ownerOriginandnameto callStorage.getInterestGroupDetails, successfully retrieving the full interest group data, includingjoiningOriginanduserBiddingSignals, bypassing the enterprise blocklist.
Suggested Fix
- Add Permission Checks: In
StorageHandler::GetInterestGroupDetails, verify the requestedowner_originagainstclient_->MayAttachToURL()before querying the database, similar to how cookies are handled. - Filter Observer Events:
InterestGroupManagerImplorStorageHandlershould filter interest group access events. Events should only be dispatched to DevTools clients that are attached to theRenderFrameHostorWebContentswhere the event originated, or at a minimum, theowner_originof the event should be checked againstMayAttachToURL()before being forwarded inStorageHandler::OnInterestGroupAccessed.
Evaluated with Chrome root at commit: bb48272cafb7e24c93f55ef40da398cd206ee651
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. Please feel free to reach out to me if you have concerns or feedback.
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 DevTools StorageHandler registers a global observer without filtering by tab and omits the MayAttachToURL() policy check when retrieving interest group details.
Impact
A malicious extension could monitor sensitive bidding data and browsing history from restricted origins, bypassing tab isolation and enterprise policies.
What the attacker needed
Victim installs a malicious extension; extension has debugger permission; enterprise policies block certain domains
The fix
The fix should add a MayAttachToURL() check in GetInterestGroupDetails and filter observer events by the originating tab or check the owner_origin against MayAttachToURL() before forwarding.
How it was found
- An attacker creates a Chrome extension with the debugger permission.
- The victim installs the extension in an environment with enterprise policies blocking access to a restricted domain.
- The extension attaches its debugger to a benign, permitted tab.
- The extension enables interest group tracking via Storage.setInterestGroupTracking.
- The extension listens for Storage.interestGroupAccessed events.
- The victim opens a new tab and navigates to the restricted domain, which calls navigator.joinAdInterestGroup().
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 extension with special debugging rights can watch what websites you visit and what ad groups you join, even if your company has blocked those sites. The extension is supposed to be limited to one tab and respect blocklists, but a missing check lets it see everything.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.