Inappropriate implementation in Navigations (CVE-2024-9966)
Originally disclosed on Chrome VRP
- Fix shipped in 41 days
VULNERABILITY DETAILS
For purposes of history navigation, the same history entry is used regardless of whether a navigation fails or not. When a failed navigation is committed, an empty policy container is used and saved for that history entry 1 2. It's also possible to make a successful history navigation wrongfully use this empty policy container, since for locally-schemed URLs, the computed policies are taken directly from the history entry 3. This can lead to a CSP bypass.
Note that the PoC requires that the victim page has no XFO/CSP frame-ancestors (in order to make use of history navigations) and that there exists an about:srcdoc frame with controlled content, which could happen if e.g. a site allowed users to upload arbitrary HTML content and relied on a CSP on this content.
VERSION
Chrome Version: 128.0.6613.115 + stable, dev Operating System: Windows 11 Version 10.0.22621 Build 22621
REPRODUCTION CASE
Please find the relevant PoC attached.
Note that the PoC abuses the fix in https://issues.chromium.org/issues/40165505 to make an about:srcdoc session history entry navigation fail.
CREDIT INFORMATION
Reporter credit: Harry Chen
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A low-severity XSS bug in Navigations (Google Chrome). Chrome VRP made it public on 15 October 2024 as CVE-2024-9966. Fixed in version 130.0.6723.58. It paid $1,000.
About XSS
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.