Skip to content
SSRF Advisory Advanced CVE-2026-78966

Externally controlled reference in QUIC (CVE-2026-78966)

Chrome's QUIC client fails to validate the IP address and port in a server-supplied preferred_address transport parameter, allowing a malicious QUIC server to make the victim's browser send UDP packets to internal or restricted targets. This enables blind UDP port scanning and limited SSRF with up to 20 bytes of attacker-controlled payload.

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.

Overview: A malicious QUIC server can supply a preferred_address transport parameter pointing to arbitrary internal IPs and restricted ports. On platforms where kMigrateSessionsOnNetworkChangeV2 is enabled (like Android), the resulting UDP socket bypasses IsPortAllowedForIpEndpoint checks. This allows attackers to send up to 20 bytes of arbitrary UDP payload to localhost or internal network services, and perform blind UDP port scanning.

Affected files:

  • net/quic/quic_chromium_client_session.cc
  • net/socket/udp_client_socket.cc
  • net/quic/quic_session_pool.cc
  • net/third_party/quiche/src/quiche/quic/core/quic_config.cc
  • net/third_party/quiche/src/quiche/quic/core/crypto/transport_parameters.cc

Estimated timestamp from git blame: 2024-10-15

Description

A potential vulnerability exists in Chrome's handling of the IETF QUIC preferred_address transport parameter. A malicious QUIC server can provide an alternative IP address and port for the client to migrate its connection to. Chrome's QUIC implementation attempts to validate this server-provided address by sending encrypted 1-RTT QUIC PATH_CHALLENGE packets.

However, the implementation fails to perform adequate validation on the target IP and port, bypassing both Local/Private Network Access (LNA/PNA) boundaries and Chrome's restricted port list (e.g., ports 53, 111). This allows a remote attacker to trigger unsolicited UDP traffic to arbitrary internal or external targets, with partial control over the UDP payload.

Technical Details

  1. Missing IP Validation: When the preferred_address is received, QuicChromiumClientSession::OnServerPreferredAddressAvailable is triggered (net/quic/quic_chromium_client_session.cc:4310). It checks if the connection is direct but fails to enforce any LNA/PNA policy or IP blocklist validations against the new server-provided IP address.

  2. Bypassed Port Restrictions: To send the probe, QuicSessionPool::ConnectAndConfigureSocket is called. On platforms where features::kMigrateSessionsOnNetworkChangeV2 is enabled (which defaults to true on Android per net/base/features.cc:299), the code uses ConnectUsingNetworkAsync or ConnectUsingDefaultNetworkAsync in net/socket/udp_client_socket.cc. Crucially, unlike the standard UDPClientSocket::Connect method, these specialized methods do not call IsPortAllowedForIpEndpoint. This allows the socket to bind and connect to restricted ports, including those on localhost.

  3. Payload Control (SSRF): The client sends PATH_CHALLENGE packets to the target. Because this is an established connection, a 1-RTT "Short Header" QUIC packet is used. The short header starts with a 1-byte header, immediately followed by the Destination Connection ID. The attacker fully controls the up to 20-byte connection_id supplied in the preferred_address parameter. This means the first ~21 bytes of the UDP payload are attacker-controlled (1 byte header + 20 bytes connection ID), enabling blind UDP SSRF.

  4. Internal Port Scanning Oracle: If the target internal port is closed, the victim's OS may respond with an ICMP Port Unreachable message, causing an immediate failure of the path validation. If the port is open/filtered, the client will send repeated probes until a timeout occurs. The attacker's server can observe this timing difference (e.g., via the client retiring the connection ID) to reliably scan the victim's internal network for active UDP services.

Potential Reproduction Steps

Note: These are theoretical steps as we do not yet have a working PoC.

  1. Set up an HTTPS/3 (QUIC) server with a valid TLS certificate.
  2. Configure the server to include the preferred_address transport parameter during the handshake, pointing to an internal target (e.g., 127.0.0.1:111 or 10.0.0.5:53). Set the connection_id to the desired UDP payload prefix.
  3. Navigate to the server using Chrome on Android (where kMigrateSessionsOnNetworkChangeV2 is enabled).
  4. Observe via packet capture that Chrome attempts to connect and send UDP packets to the specified internal address and restricted port.

Suggested Fix

  1. Enforce Port Restrictions: Add a call to IsPortAllowedForIpEndpoint(address) in UDPClientSocket::ConnectUsingNetwork and UDPClientSocket::ConnectUsingDefaultNetwork in net/socket/udp_client_socket.cc to ensure restricted ports cannot be targeted, even during network migrations.
  2. Enforce LNA/PNA Policies: Implement IP address validation in QuicChromiumClientSession::OnServerPreferredAddressAvailable to block migrations to internal/private IP ranges if the original connection was to a public IP, adhering to Private Network Access guidelines.

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 QUIC client's migration code path uses socket connection methods that skip the IsPortAllowedForIpEndpoint check and does not enforce LNA/PNA IP validation on the server-provided preferred address.

Impact

A remote attacker could send up to 20 bytes of arbitrary UDP payload to localhost or internal network services and perform blind UDP port scanning, though the text notes this is theoretical and no working proof of concept exists.

What the attacker needed

Chrome on Android with [redacted] enabled; Victim visits a malicious QUIC server; Attacker controls a QUIC server with valid TLS certificate

The fix

The fix should enforce port restrictions by calling IsPortAllowedForIpEndpoint in the network migration socket methods and add IP address validation in OnServerPreferredAddressAvailable to block migrations to internal/private IP ranges.

How it was found

  1. Set up an HTTPS/3 (QUIC) server with a valid TLS certificate.
  2. Configure the server to include the preferred_address transport parameter pointing to an internal target and set the connection_id to the desired UDP payload prefix.
  3. Navigate to the server using Chrome on Android where [redacted] is enabled.
  4. Observe via packet capture that Chrome attempts to connect and send UDP packets to the specified internal address and restricted 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.

QUIC is a modern transport protocol used by Chrome. A server can tell the browser to switch to a different address, but Chrome does not check whether that address is internal or on a blocked port. An attacker can abuse this to make the browser send small UDP packets to services inside the victim's network, which can be used to scan for open ports.

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.