Site Isolation bypass via Chrome extension

Date: Nov 27, 2019 03:08PM

Vulnerability Details

This vulnerability assumes a compromise of the renderer process as described in this post:!msg/chromium-extensions/0ei-UCHNm34/IDaXwQhzBAAJ

From a compromised renderer process, we can send a message to the extension background script (chext_backgroundpage.js) and break site isolation by triggering a POST request with credentials to an arbitrary origin, with arbitrary headers, and the ability to read the response.

Steps to reproduce:

  1. Install the Google Input Tools extension:
  2. Visit an "attacker" domain (e.g. and open DevTools
  3. Simulate compromise of renderer process and select the Google Input Tools content script from the scope dropdown.
  4. Execute the following JavaScript from the content script (part of the renderer) and observe the response logged:
  sq: true,
  url: "",
  hd: {
    "x-arbitrary": "header"
}, function(x) { console.log(x); })

Content script showing cross-origin response reading: Content script showing cross-origin response reading

HTTP request sent by extension: HTTP request sent by extension

Browser: Google Chrome 78.0.3904.108
Extension version:

Attack Scenario

An attacker that compromises the renderer process can abuse this vulnerability to break site isolation and read cross-origin responses. The request must be a POST request to an HTTPS resource, but the attacker can set any headers they like, and cookies are sent by default.