Confused deputy in WebAppInstalls (CVE-2026-113301)
The WebAppOriginAssociationFetcher in the browser process fails to enforce Local Network Access restrictions when fetching PWA scope_extensions, allowing requests to internal IP addresses. An attacker can use a timing side-channel to probe internal network ports, and a compromised renderer can bypass scheme checks to directly target local HTTP endpoints.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 7 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: The WebAppOriginAssociationFetcher fails to enforce Local Network Access (LNA) restrictions when fetching PWA scope_extensions. Because the browser fetches these origins sequentially from a sorted set, an attacker can use a timing side-channel to reliably probe internal network ports. Additionally, a compromised renderer can bypass renderer-side scheme checks to directly target local HTTP endpoints via Mojo.
Affected files:
components/webapps/services/web_app_origin_association/web_app_origin_association_fetcher.ccchrome/browser/web_applications/jobs/manifest_to_web_app_install_info_job.ccchrome/browser/web_applications/web_app_origin_association_task.ccthird_party/blink/renderer/modules/manifest/manifest_parser.cc
Estimated timestamp from git blame: 2025-06-26
Description
WebAppOriginAssociationFetcher runs in the highly privileged browser process and fetches .well-known/web-app-origin-association files for origins listed in a PWA manifest's scope_extensions array. Multiple logic flaws combine to create a potential Blind SSRF and local network port-scanning vulnerability:
- Missing LNA Restrictions: In
WebAppOriginAssociationFetcher::CreateRequester, thenetwork::ResourceRequestis created without setting aclient_security_stateand without appendingnetwork::mojom::kURLLoadOptionBlockLocalRequestto the loader options. Consequently, the network service permits these requests to reach RFC1918 and loopback addresses. - Explicit IP Allowance:
ShouldFetchAssociationFileexplicitly permits IP-literal hosts (resource_url.HostIsIPAddress()), bypassing the registry-controlled domain checks that restrict other origins. - Sequential Fetching & Sorting:
WebAppOriginAssociationManager::Taskplaces the extracted origins into astd::set<url::Origin>. This sorts the origins predictably by port, then scheme, then host. The browser then iterates through this set, fetching the association files sequentially. - Mojo Validation Bypass: The browser process (
ToWebAppScopeExtensions) does not re-validate the scheme or address space ofManifestScopeExtensionPtrobjects received from the renderer via Mojo. While the renderer normally requires HTTPS, a compromised renderer can sendhttp://127.0.0.1directly.
By leveraging the sorting and sequential fetching, a web attacker can bracket a target internal IP with their own domains to create a highly reliable timing side-channel.
Note: Our tooling agent does not have the ability to run code, so the following are suggested steps to trigger the vulnerability based on static analysis.
Potential Reproduction Steps
Scenario A: Malicious Web Page (Timing Side-Channel / Port Scan)
- An attacker hosts a PWA manifest on their server containing
scope_extensionscrafted to bracket an internal IP. Example:https://0.attacker.com:8443https://192.168.1.1:8443https://z.attacker.com:8443
- The user visits the attacker's site, triggering a PWA installation or an update check.
- The browser process sorts the origins (port, scheme, host) and fetches them sequentially.
- The attacker's server receives the request for
0.attacker.comat time $T_0$. - The browser attempts to connect to
192.168.1.1:8443. If the port is closed, the connection drops instantly (ERR_CONNECTION_REFUSED). If the port is filtered/dropped, the connection hangs until timeout. - The browser then fetches
z.attacker.com. The attacker's server receives this request at time $T_1$. - The attacker calculates $T_1 - T_0$ to determine the exact duration of the internal request, accurately inferring the reachability and state of the target internal port.
Scenario B: Compromised Renderer (Direct Local SSRF)
- An attacker compromises the renderer process.
- The attacker crafts a
blink.mojom.ManifestManagerIPC response containing aManifestScopeExtensionwith the originhttp://127.0.0.1:8080. - The browser process receives the Mojo message and blindly initiates a GET request to
http://127.0.0.1:8080/.well-known/web-app-origin-association, potentially interacting with unprotected local services.
Suggested Fix
-
Block Local Requests: In
WebAppOriginAssociationFetcher::CreateRequester, modify theSetURLLoaderFactoryOptionscall to explicitly block local network access:C++ url_loader->SetURLLoaderFactoryOptions( network::mojom::kURLLoadOptionBlockAllCookies | network::mojom::kURLLoadOptionBlockLocalRequest); -
Re-validate Mojo Inputs: In
ManifestManagerHostorToWebAppScopeExtensions, strictly re-validate that all providedscope_extensionsuse the HTTPS scheme and are not IP addresses (unless specifically intended/safe for PWAs).
Evaluated with Chrome root at commit: a9cbf6e8b275fe4147435aa905f3b7f5a656f5f0
Results from 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 fetcher creates network requests without setting client security state or blocking local requests, and the browser process does not re-validate origins received from the renderer.
Impact
An attacker could perform blind SSRF and local network port scanning, and a compromised renderer could directly access local HTTP services.
What the attacker needed
Victim visits attacker's site; PWA installation or update triggered; for Scenario B: compromised renderer
The fix
The fetcher should block local requests by setting the appropriate loader option, and the browser process should re-validate Mojo inputs to ensure HTTPS and non-IP origins.
How it was found
- An attacker hosts a PWA manifest with scope_extensions that bracket an internal IP address.
- The user visits the attacker's site, triggering a PWA installation or update check.
- The browser sorts the origins and fetches them sequentially.
- The attacker measures the time between requests to their own domains to infer the state of the internal port.
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.
When you install a web app, the browser fetches a small file from each origin listed in the app's manifest to confirm ownership. This report found that the browser does not block requests to private network addresses (like 192.168.x.x or [redacted]) during this fetch. An attacker can abuse this to scan your internal network or, if they already control part of the browser, make requests to services on your own machine.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.