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

Inappropriate implementation in ORB (CVE-2026-11179)

A logic flaw in Opaque Response Blocking (ORB) causes it to misread duplicate X-Content-Type-Options headers, so it fails to block JSON responses immediately. This allows cross-origin JSON arrays to reach the attacker's renderer process, where they could be read via a Spectre side-channel.

Google Chrome

Originally disclosed on Chrome VRP

  • Fix shipped in 50 days

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 Chrome Security team.

Overview: ORB's HasNoSniff incorrectly handles duplicate X-Content-Type-Options headers due to concatenation by GetNormalizedHeader, causing the literal comparison with "nosniff" to fail. This bypasses the immediate block for application/json, and because SniffForJSON only recognizes dictionaries, sensitive JSON arrays can bypass ORB and leak into a cross-origin renderer process. This exposes the data to potential Spectre side-channel attacks.

Affected files:

  • services/network/orb/orb_impl.cc
  • services/network/orb/orb_sniffers.cc

Estimated timestamp from git blame: 2024-10-18

Summary

A logic flaw in Opaque Response Blocking (ORB) prevents the correct recognition of the X-Content-Type-Options: nosniff header when multiple instances are present in an HTTP response. This causes ORB to fall back to content sniffing for MIME types like application/json that should be blocked immediately. Because ORB's JSON sniffer currently only recognizes JSON dictionaries (starting with {), JSON arrays bypass the sniffing phase and are erroneously allowed into the renderer process, where they are vulnerable to Spectre-style exfiltration.

Technical Details

1. Header Parsing Flaw in HasNoSniff

In services/network/orb/orb_impl.cc, the HasNoSniff function checks for the nosniff directive by calling response.headers->GetNormalizedHeader("x-content-type-options").

If a server or intermediary proxy sends multiple X-Content-Type-Options: nosniff headers, GetNormalizedHeader concatenates them with a comma and space, resulting in the string "nosniff, nosniff".

HasNoSniff then performs a strict case-insensitive string comparison: base::EqualsCaseInsensitiveASCII(nosniff_header, "nosniff"). Because "nosniff, nosniff" is not strictly equal to "nosniff", the function incorrectly returns false.

2. Bypass of Immediate ORB Block

In OpaqueResponseBlockingAnalyzer::Init, when processing MimeType::kJson, the code relies on is_no_sniff_header_present_ (the result of HasNoSniff) to immediately block the resource. Since it is false, the immediate block is bypassed, and the analyzer returns Decision::kSniffMore.

3. Sniffing Failure for JSON Arrays

The response body is then passed to OpaqueResponseBlockingAnalyzer::Sniff. The JSON sniffer, SniffForJSON (services/network/orb/orb_sniffers.cc), explicitly expects the first non-whitespace character to be { to identify a JSON object. If the sensitive data is a JSON array starting with [, the sniffer returns kNo.

Consequently, no sniffer positively identifies the blocked content, and HandleEndOfSniffableResponseBody defaults to Decision::kAllow. The cross-origin JSON array is delivered to the attacker's renderer process memory space.

Potential Attack Steps

Note: These steps are based on static analysis; an active PoC has not been executed.

  1. Target Selection: The attacker targets a sensitive JSON array hosted at https://victim.example/data.json (e.g., [{"secret": "data"}]).
  2. Server Condition: The victim server, or a CDN/proxy in front of it, must be configured in a way that duplicates the X-Content-Type-Options: nosniff header.
  3. Cross-Origin Request: The attacker triggers a no-cors fetch request to the target from a malicious page: fetch('https://victim.example/data.json', {mode: 'no-cors'}).
  4. ORB Bypass: Due to the duplicate headers, HasNoSniff returns false. The [ character causes SniffForJSON to fail. ORB allows the resource.
  5. Exfiltration: The raw JSON array data is now in the attacker's renderer process memory. The attacker uses a local transient-execution side-channel attack (like Spectre v1) in JavaScript to read the memory and exfiltrate the victim's data.

Suggested Fix

Update HasNoSniff in services/network/orb/orb_impl.cc to properly parse the normalized header string. It should split the string by commas, strip whitespace, and check if the first token is "nosniff". This aligns with the Fetch specification and how it is implemented elsewhere, such as in ParseContentTypeOptionsHeader in third_party/blink/renderer/platform/network/http_parsers.cc.

Evaluated with Chrome root at commit: 096fc8fdbfacf2546485756d03f160a3d04fcc9b


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 header check compares the entire concatenated header value to the literal string "nosniff" instead of parsing comma-separated tokens, so duplicate headers cause the check to fail.

Impact

Sensitive cross-origin JSON arrays could be exposed to an attacker's renderer process and potentially read via a Spectre side-channel, though the report notes no active proof-of-concept has been executed.

What the attacker needed

Victim server sends duplicate nosniff headers; sensitive data is a JSON array; attacker can run JavaScript in a browser; Spectre-style side-channel is feasible

The fix

The header check should be updated to split the normalized header string by commas, strip whitespace, and check if the first token is "nosniff", matching the Fetch specification.

How it was found

  1. The attacker identifies a sensitive JSON array hosted on a victim server.
  2. The victim server or a proxy in front of it must be configured to send duplicate X-Content-Type-Options: nosniff headers.
  3. The attacker makes a no-cors fetch request to the target from a malicious page.
  4. Because the duplicate headers make HasNoSniff return false, and the JSON array starts with '[', the JSON sniffer fails and ORB allows the resource.
  5. The raw JSON array data ends up in the attacker's renderer process memory, where the attacker uses a Spectre-style side-channel to read and exfiltrate it.

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.

Opaque Response Blocking (ORB) is a browser defence that stops a malicious site from reading certain cross-origin responses, like JSON data. The report found that when a server sends the same security header twice, ORB's check breaks and lets the data through. An attacker could then use a CPU side-channel trick called Spectre to read that data from memory.

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.