Skip to content
SSRF Advisory Advanced CVE-2026-113301

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.cc
  • chrome/browser/web_applications/jobs/manifest_to_web_app_install_info_job.cc
  • chrome/browser/web_applications/web_app_origin_association_task.cc
  • third_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:

  1. Missing LNA Restrictions: In WebAppOriginAssociationFetcher::CreateRequester, the network::ResourceRequest is created without setting a client_security_state and without appending network::mojom::kURLLoadOptionBlockLocalRequest to the loader options. Consequently, the network service permits these requests to reach RFC1918 and loopback addresses.
  2. Explicit IP Allowance: ShouldFetchAssociationFile explicitly permits IP-literal hosts (resource_url.HostIsIPAddress()), bypassing the registry-controlled domain checks that restrict other origins.
  3. Sequential Fetching & Sorting: WebAppOriginAssociationManager::Task places the extracted origins into a std::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.
  4. Mojo Validation Bypass: The browser process (ToWebAppScopeExtensions) does not re-validate the scheme or address space of ManifestScopeExtensionPtr objects received from the renderer via Mojo. While the renderer normally requires HTTPS, a compromised renderer can send http://127.0.0.1 directly.

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)

  1. An attacker hosts a PWA manifest on their server containing scope_extensions crafted to bracket an internal IP. Example:
    • https://0.attacker.com:8443
    • https://192.168.1.1:8443
    • https://z.attacker.com:8443
  2. The user visits the attacker's site, triggering a PWA installation or an update check.
  3. The browser process sorts the origins (port, scheme, host) and fetches them sequentially.
  4. The attacker's server receives the request for 0.attacker.com at time $T_0$.
  5. 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.
  6. The browser then fetches z.attacker.com. The attacker's server receives this request at time $T_1$.
  7. 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)

  1. An attacker compromises the renderer process.
  2. The attacker crafts a blink.mojom.ManifestManager IPC response containing a ManifestScopeExtension with the origin http://127.0.0.1:8080.
  3. 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

  1. Block Local Requests: In WebAppOriginAssociationFetcher::CreateRequester, modify the SetURLLoaderFactoryOptions call to explicitly block local network access:

    C++
    url_loader->SetURLLoaderFactoryOptions(
        network::mojom::kURLLoadOptionBlockAllCookies |
        network::mojom::kURLLoadOptionBlockLocalRequest);
    
  2. Re-validate Mojo Inputs: In ManifestManagerHost or ToWebAppScopeExtensions, strictly re-validate that all provided scope_extensions use 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.

The original report as published on the Chromium issue tracker. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

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

  1. An attacker hosts a PWA manifest with scope_extensions that bracket an internal IP address.
  2. The user visits the attacker's site, triggering a PWA installation or update check.
  3. The browser sorts the origins and fetches them sequentially.
  4. 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.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Server-side request forgery (SSRF)

The lesson behind this report.

The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.