Insufficient validation of untrusted input in WebAuthentication (CVE-2026-11244)
A compromised renderer could supply an arbitrary challenge_url via Mojo IPC, causing the browser process to fetch it using a privileged URLLoaderFactory without scheme or origin restrictions. This allowed blind GET requests to internal network resources and a timing oracle to scan local ports and services.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 2 months
Project Fortify, an experimental security project, has identified the following potential security issue.
Overview: A compromised renderer can exploit the WebAuthn API to perform Server-Side Request Forgery (SSRF) and bypass Private Network Access (PNA) protections. By supplying a malicious challenge_url via Mojo IPC, the browser process fetches the URL using a highly privileged URLLoaderFactory without enforcing scheme or origin restrictions.
Affected files:
chrome/browser/webauthn/challenge_url_fetcher.cccontent/browser/webauth/authenticator_common_impl.ccchrome/browser/webauthn/authenticator_request_dialog_controller.cc
Estimated timestamp from git blame: 2025-01-10
Description
There is a potential Server-Side Request Forgery (SSRF) vulnerability in the WebAuthn implementation's handling of the challenge_url parameter. When a WebAuthn GetAssertion request is made, a compromised renderer can bypass Blink-level feature flags and supply an arbitrary challenge_url directly via Mojo IPC.
The browser process receives this request in AuthenticatorCommonImpl, which only checks if the URL is syntactically valid but fails to validate the scheme (e.g., blocking file:// or chrome://) or enforce Private Network Access (PNA) restrictions.
The request is then passed to AuthenticatorRequestDialogController::ProvideChallengeUrl, which instantiates a ChallengeUrlFetcher using Profile::GetDefaultStoragePartition()->GetURLLoaderFactoryForBrowserProcess(). As documented in content/public/browser/storage_partition.h, this factory is highly privileged and disables Opaque Response Blocking (ORB) and request_initiator_origin_lock. Furthermore, ChallengeUrlFetcher::FetchUrl constructs the network::ResourceRequest without setting a request_initiator.
Because the request uses a privileged browser-process factory and lacks an initiator, the Network Service treats it as a trusted internal fetch. This completely bypasses CORS and PNA checks, allowing the attacker to force the browser to issue blind GET requests to local or internal network resources.
Impact
- SSRF and PNA Bypass: A compromised renderer can issue GET requests to
localhost, RFC1918 addresses, or cloud metadata endpoints, bypassing network isolation boundaries. - Timing Oracle: The renderer receives a
NOT_ALLOWED_ERRORupon fetch failure. The time taken to receive this error differs based on network behavior (e.g., fast TCP connection refused vs. slower HTTP 200 OK with incorrect Content-Type), creating a reliable timing oracle for scanning internal ports and services. - Scheme Abuse: Lack of URL scheme filtering may allow the browser process to fetch
file://orchrome://resources, though reading the exact response body requires the target to serve the specific WebAuthn challenge content type.
Potential Attacker Steps
Note: These are suggested steps; our tooling has not executed a live proof-of-concept.
- An attacker compromises a renderer process (e.g., via a V8 exploit) or uses a renderer with MojoJS enabled.
- The attacker crafts a
blink::mojom::Authenticator::GetAssertionMojo message. - In the
PublicKeyCredentialRequestOptions, the attacker omits thechallengeand setschallenge_urlto a sensitive internal endpoint (e.g.,http://127.0.0.1:8080/internal-api). - The compromised renderer sends the Mojo IPC to the browser process.
- The browser process validates the Relying Party ID and immediately triggers the
ChallengeUrlFetcherto perform a GET request against the attacker-supplied internal URL. - The attacker measures the time it takes for the WebAuthn promise to reject to infer the state of the internal endpoint.
Suggested Fix
- Use a Restricted URLLoaderFactory: Do not use
GetURLLoaderFactoryForBrowserProcess()for web-influenced fetches. Instead, use aURLLoaderFactorybound to the origin of the requesting renderer frame, ensuring standard web security models apply. - Set Request Initiator: Explicitly set the
request_initiatoron thenetwork::ResourceRequestinChallengeUrlFetcher::FetchUrlto the origin of the relying party. - Strict URL Validation: In
AuthenticatorCommonImpl, rejectchallenge_urlvalues that use non-HTTP(S) schemes (e.g.,file://,chrome://,data://). - Enforce PNA: Ensure Private Network Access checks are applied to the fetch, preventing public websites from fetching challenges from local/internal network endpoints.
Evaluated with Chrome root at commit: 876d480da1f794d87813cfa2e6ff4fcf9771e939
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. 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
The browser process used a highly privileged URLLoaderFactory for a web-influenced fetch and did not set a request initiator or validate the URL scheme, so the network service treated the request as a trusted internal fetch.
Impact
A compromised renderer could issue blind GET requests to localhost, private network addresses, or cloud metadata endpoints, bypassing network isolation, and use response timing to scan internal ports and services; reading response bodies was limited by the required WebAuthn challenge content type.
What the attacker needed
Compromised renderer or MojoJS enabled; ability to send Mojo IPC messages
The fix
The browser should use a URLLoaderFactory bound to the requesting renderer's origin, set the request initiator, reject non-HTTP(S) schemes, and enforce Private Network Access checks.
How it was found
- Compromise a renderer process or use a renderer with MojoJS enabled.
- Craft a GetAssertion Mojo message with a challenge_url pointing to an internal endpoint.
- Send the Mojo IPC to the browser process.
- The browser process validates the Relying Party ID and triggers the ChallengeUrlFetcher to perform a GET request.
- Measure the time until the WebAuthn promise rejects to infer the state of the internal endpoint.
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 web browser has a feature for logging in with security keys. A malicious page that has already taken over part of the browser could ask the browser to fetch any web address it wanted, including addresses on the local network that normal web pages cannot reach. The browser did not check whether the address was safe or whether the request came from a trusted page.
What is SSRF?
The server can be made to fetch an address the attacker chooses, reaching internal services, cloud metadata or other customers' data.