Incorrect authorization in WebUI (CVE-2026-113148)
WebUI data sources were resolved by host name alone, ignoring the request scheme, so a compromised devtools:// renderer could request chrome://-only sources such as prefs-internals and extensions-internals. That could let an attacker read user preferences and extension metadata from the browser process.
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: A potential logical vulnerability in URLDataManagerBackend allows WebUI data sources to be resolved purely by host name, ignoring the request's scheme. This can allow a compromised devtools:// renderer to bypass scheme isolation boundaries and request sensitive chrome://-exclusive data sources. Consequently, an attacker could potentially extract user preferences and extension metadata from the browser process.
Affected files:
content/browser/webui/url_data_manager_backend.cccontent/browser/webui/web_ui_url_loader_factory.cccontent/public/browser/url_data_source.ccchrome/browser/ui/webui/prefs_internals_source.ccchrome/browser/ui/webui/extensions/extensions_internals_source.cc
Estimated timestamp from git blame: 2018-03-01
Root Cause Analysis
There is a potential logical security boundary bypass in how WebUI URL data sources are resolved and validated across different schemes in the browser process:
-
Host-Only Lookup in URLDataManagerBackend: In
URLDataManagerBackend::GetDataSourceFromURL(content/browser/webui/url_data_manager_backend.cc), standard (non-chrome-untrusted://) requests are resolved purely by host name, completely ignoring the scheme of the requested URL:C++ // content/browser/webui/url_data_manager_backend.cc auto i = data_sources_.find(url.GetHost()); if (i != data_sources_.end()) return i->second.get();As a result, a request targeting
devtools://prefs-internals/ordevtools://extensions-internals/successfully resolves to the browser-registeredPrefsInternalsSourceorExtensionsInternalsSource, despite carrying adevtools://scheme. -
Permissive Default Scheme Handling: Neither
PrefsInternalsSourcenorExtensionsInternalsSourceoverrides theShouldServiceRequestvalidation check. Consequently, execution falls back to the default implementation inURLDataSource::ShouldServiceRequest(content/public/browser/url_data_source.cc), which explicitly trusts and permits requests fromdevtools://(kChromeDevToolsScheme):C++ bool URLDataSource::ShouldServiceRequest(const GURL& url, BrowserContext* browser_context, int render_process_id) { return url.SchemeIs(kChromeDevToolsScheme) || url.SchemeIs(kChromeUIScheme) || url.SchemeIs(kChromeUIUntrustedScheme); } -
Mojo Loader Factory Configuration: When a
devtools://frame commits navigation,RenderFrameHostImpl::CommitNavigation(content/browser/renderer_host/render_frame_host_impl.cc) instantiates aWebUIURLLoaderFactoryfor thedevtoolsscheme with an emptyallowed_hosts_filter. Sinceallowed_hosts_is empty, the factory allows requests to any host name under that scheme, bypassing host-filtering inCreateLoaderAndStart(content/browser/webui/web_ui_url_loader_factory.cc).
Potential Attack Scenario / Trigger Path
Note: These are suggested/potential steps compiled from static code tracing; our tooling agent does not currently have the capability to run code to verify with a live proof of concept.
- A user opens DevTools, resulting in a frame committing navigation to
devtools://devtools/bundled/devtools_app.html. The browser grants this renderer process aWebUIURLLoaderFactorybound to thedevtoolsscheme with no host constraints. - An attacker compromises the sandboxed
devtools://renderer process (e.g., via a compromised renderer, DOM-XSS on a remote-hosted DevTools front-end, or a malicious DevTools-extension panel). - The attacker issues a direct Mojo request (or standard asynchronous
fetch()) to the registeredWebUIURLLoaderFactorytargetingdevtools://prefs-internals/ordevtools://extensions-internals/. - On the browser side, the
WebUIURLLoaderFactorypasses scheme validation because the requested scheme matches its own (devtools). The emptyallowed_hosts_check succeeds. URLDataManagerBackend::GetDataSourceFromURLextracts the host name (e.g.,'prefs-internals') and returns a pointer to the matchingPrefsInternalsSource.- The browser checks
ShouldServiceRequest, which evaluates totruebecause the request scheme is'devtools'. - The browser process executes the data request, compiling sensitive data (user preferences, account details, sync configurations, or extension metadata) and streaming it back to the compromised renderer over the Mojo data pipe.
Security Impact
An attacker in possession of a compromised devtools:// renderer could read highly sensitive configuration and configuration metadata, bypassing renderer sandbox restrictions for data access. Specifically, this leaks:
- Full user profile preferences (
PrefsInternalsSource): including user email addresses, synchronization states, per-origin content settings, and metadata. - Extension lists (
ExtensionsInternalsSource): leaking installed extensions, permissions, and extension file paths.
Suggested Fix
To prevent scheme-agnostic routing:
- Update
URLDataManagerBackend::GetDataSourceFromURLto verify that the incoming URL's scheme matches the scheme expected by the resolvedURLDataSource. - Or, more restrictively, override
ShouldServiceRequeston sensitive internal sources such asPrefsInternalsSourceandExtensionsInternalsSourceto returntrueonly if the requested scheme is explicitlychrome://(kChromeUIScheme), rather than defaulting to the base implementation that permits thedevtools://scheme.
Evaluated with Chrome root at commit: fb72408a8493c46bc75fae1c70d03daec96b3040
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 data source lookup matched on host name only and the default request check accepted the devtools scheme, so scheme isolation was never enforced.
Impact
An attacker who already controls a devtools renderer could read user preferences and extension metadata, though the report is based on code tracing and was not verified with a live proof of concept.
What the attacker needed
Attacker controls a devtools renderer; user has DevTools open
The fix
The lookup should check that the URL scheme matches the scheme the data source expects, or sensitive sources should only accept the chrome:// scheme.
How it was found
- A user opens DevTools, giving that frame a loader factory for the devtools scheme with no host restrictions.
- The attacker compromises the sandboxed devtools renderer process.
- The attacker sends a request through that factory to an internal data source host such as prefs-internals.
- The browser accepts the scheme and the empty host filter, then resolves the data source by host name.
- The request check passes because the scheme is devtools, and the data is streamed back to the renderer.
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.
Chrome separates its internal pages by scheme, the prefix like chrome:// or devtools://, so one kind of page should not read another kind's data. Here the lookup only checked the host name part of the address, so a page from the developer tools scheme could reach internal pages meant only for chrome://. The report is based on reading the code, not on a working demonstration.
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.