Skip to content
Info disclosure Advisory Advanced CVE-2026-79028

Observable discrepancy in Network (CVE-2026-79028)

Chrome's Network Error Logging (NEL) implementation uses only the last failed connection attempt's IP to decide whether to downgrade a report, so an attacker can hide a probe to an internal IP behind a later failure to their own policy IP. This lets the attacker receive timing information that reveals whether internal ports are closed or filtered.

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 without the security team.

Overview: A logic flaw in Chrome's Network Error Logging (NEL) implementation potentially allows attackers to bypass downgrade protections designed to prevent port scanning. When multiple connection attempts fail, Chrome uses only the last attempted IP to validate the NEL policy, allowing an attacker to hide a failed probe to an internal IP behind a subsequent failure to their own policy IP.

Affected files:

  • net/http/http_network_transaction.cc
  • net/network_error_logging/network_error_logging_service.cc
  • net/socket/transport_connect_sub_job.cc
  • net/socket/tcp_connect_job_connector.cc

Estimated timestamp from git blame: 2022-04-25

Summary

A potential vulnerability in the Network Error Logging (NEL) implementation in Chrome allows an attacker to bypass W3C downgrade protections and perform port scanning of a victim's internal network (e.g., RFC1918 addresses).

The W3C NEL specification mandates that reports be "downgraded" (timing information zeroed) if the server IP address contacted differs from the IP address that originally delivered the NEL policy. This security measure prevents DNS-rebinding attacks and port scans of internal networks. However, when multiple connection attempts fail, Chrome populates the report's server_ip using only the last entry in the connection_attempts_ vector. An attacker can exploit this to probe an internal IP, ensure the final failed attempt goes to their own IP, and receive a report containing the cumulative timing information of all previous failed attempts.

Vulnerability Details

In net/http/http_network_transaction.cc, when all connection attempts fail, the code sets the report's server_ip:

C++
// net/http/http_network_transaction.cc
} else if (!connection_attempts_.empty()) {
  // When we failed to connect to the server, `remote_endpoint_` is not set.
  // In such case, we use the last endpoint address of `connection_attempts_`
  // for the NEL report. This address information is important for the
  // downgrade step to protect against port scan attack.
  details.server_ip = connection_attempts_.back().endpoint.address();
}

Suggested Attacker Steps (Theoretical):

  1. Policy Setup: The attacker controls evil.com and sets an NEL policy from a public POLICY_IP they control. Chrome stores this, noting policy->received_ip_address = POLICY_IP.
  2. DNS Manipulation: The attacker configures the DNS A records for evil.com to return [TARGET_IP, POLICY_IP], where TARGET_IP is an internal address (e.g., 192.168.1.1).
  3. Address Sorting: When the victim visits evil.com, Chrome resolves the IPs. AddressSorter (following RFC 6724 Rule 9 for longest matching prefix) prioritizes the internal TARGET_IP over the public POLICY_IP, placing it first in the list.
  4. First Connection Attempt (TARGET_IP): TransportConnectSubJob (or TcpConnectJob) attempts to connect to TARGET_IP. This fails (e.g., fast RST if closed, slow SYN timeout if filtered) and is appended to connection_attempts_.
  5. Second Connection Attempt (POLICY_IP): The job attempts to connect to POLICY_IP. The attacker's server intentionally drops this connection. This failure is also appended to connection_attempts_.
  6. Report Generation: The transaction fails. HttpNetworkTransaction::GenerateNetworkErrorLoggingReport uses connection_attempts_.back().endpoint.address() (which is POLICY_IP) as details.server_ip. It also calculates details.elapsed_time, which encompasses the duration of both failed attempts.
  7. Downgrade Bypass: In NetworkErrorLoggingService::OnRequest, the downgrade check compares details.server_ip (POLICY_IP) against policy->received_ip_address (POLICY_IP). Because they match, the elapsed_time is not zeroed.

Impact

This vulnerability creates a reliable port-scanning timing oracle. The attacker receives a report containing the full elapsed_time. By observing whether the time is short (<100ms) or long (>3000ms), the attacker can distinguish between a closed port and a filtered port on any internal IP reachable by the victim's browser.

Note that Private Network Access (PNA) protections do not mitigate this issue. PNA checks evaluate the response address space in URLLoader::OnConnected, which is only reached after a successful TCP connection. Since these connection attempts fail at the transport layer, PNA checks are never triggered.

Recommendation

The NEL downgrade check should evaluate all IP addresses attempted during the transaction, not just the last one.

In net/http/http_network_transaction.cc, if remote_endpoint_ is empty but connection_attempts_ is populated, the code should verify that every endpoint in connection_attempts_ matches the policy IP. If any attempted IP differs from the policy IP, the report must be downgraded to prevent leaking the timings of probes to non-policy IPs. Alternatively, the downgrade check could be updated to examine the full list of attempts if it is passed through the RequestDetails struct.

Evaluated with Chrome root at commit: 137d451a126685dd5010e6609db9f6d4a78d8234


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.

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 code sets the report's server IP to only the last entry in the connection attempts list, so the downgrade check compares just that IP against the policy IP and misses earlier attempts to different IPs.

Impact

The attacker receives a report with full elapsed time, allowing them to distinguish between closed and filtered ports on internal IPs reachable by the victim's browser; Private Network Access protections do not mitigate this because they only apply after a successful TCP connection.

What the attacker needed

Victim uses Chrome; attacker controls a domain and server; victim visits attacker's site; internal network reachable from victim

The fix

The NEL downgrade check should evaluate all IP addresses attempted during the transaction, not just the last one, and downgrade the report if any attempted IP differs from the policy IP.

How it was found

  1. The attacker sets an NEL policy from a public IP they control.
  2. The attacker configures DNS for their domain to return an internal target IP and their policy IP.
  3. The victim visits the attacker's site, and Chrome sorts the internal IP first.
  4. Chrome attempts to connect to the internal IP, which fails and is recorded.
  5. Chrome then attempts to connect to the policy IP, which the attacker drops, and this failure is also recorded.
  6. The report uses the last IP (the policy IP) for the downgrade check, so timing data from both attempts is not zeroed.

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.

Network Error Logging (NEL) is a browser feature that reports connection failures to a website owner. To stop attackers using these reports to scan internal networks, the browser removes timing details when the failed connection went to a different IP than the one that set the policy. This report shows that Chrome only checks the last failed IP, so an attacker can make the last failure go to their own IP and still get timing data about an earlier probe to an internal address.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.