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.
Originally disclosed on Chrome VRP
- Fix shipped in 2.4 years
Steps to reproduce the problem:
- Go to https://shhnjk.azurewebsites.net/SameSite.php (Sets SameSite cookie)
- Go to https://test.shhnjk.com/samecustom.html
- 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:
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
- Visit a page that sets a SameSite cookie.
- Visit a second page that contains a custom scheme link.
- Click the link to navigate via the custom scheme.
- 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.