Skip to content
CSRF Advisory Intermediate CVE-2020-36765

Insufficient policy enforcement in Navigation (CVE-2020-36765)

A SameSite cookie was sent when navigating via a custom scheme URL, bypassing the SameSite policy. An attacker could use this to send cookies cross-site, potentially enabling CSRF or information disclosure.

Jun Kokatsu Follow

Originally disclosed on Chrome VRP

Bounty$1,000 Medium View original
  • Fix shipped in 2.4 years

Steps to reproduce the problem:

  1. Go to https://shhnjk.azurewebsites.net/SameSite.php (Sets SameSite cookie)
  2. Go to https://test.shhnjk.com/samecustom.html
  3. Click go

What is the expected behavior? SameSite cookie not sent

What went wrong? SameSite cookie can be sent using custom scheme (googlechrome://navigate?url=https://shhnjk.azurewebsites.net/SameSite.php)

Did this work before? N/A

Chrome version: 65.0.3325.181 Channel: stable OS Version: Android Flash Version:

The original report as published on the Chromium issue tracker, by Jun Kokatsu (@shhnjk). 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 browser's navigation handling did not apply SameSite cookie restrictions to navigations initiated through custom schemes.

What the attacker needed

Victim clicks a custom scheme link; target site sets a SameSite cookie

How it was found

  1. Visit a page that sets a SameSite cookie.
  2. Visit a second page that contains a custom scheme link.
  3. Click the link to navigate via the custom scheme.
  4. Observe that the SameSite cookie is sent to the first site.

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.

SameSite is a cookie setting that stops a browser from sending cookies when you visit a site from a different site, which helps prevent cross-site request forgery. Here, the browser failed to enforce that rule when the navigation used a special custom URL scheme, so the cookie was sent anyway.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by Jun Kokatsu

View all

26 more disclosed reports, best first.

More from Google Chrome

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.