Skip to content
Misconfiguration Advisory Intermediate CVE-2024-11116

Inappropriate implementation in Paint (CVE-2024-11116)

A navigation to an invalid URL that renders no content leaves the previous page's rendered content visible for four seconds, even if it is cross-origin. An attacker can repeatedly trigger such navigations to prolong the display of spoofed content from their own page.

Thomas Orlita Follow

Originally disclosed on Chrome VRP

  • Fix shipped in 12 months

VULNERABILITY DETAILS
If a navigation happens but doesn't render any content (by trying to navigate to an invalid URL), it will keep displaying the rendered content of the previous page, even if it's a cross-origin cross-site page, for 4 seconds. The attacker's page (with a reference to the window) can keep repeating the navigation to prolong the content spoof. The page will not be interactive, but the attacker can choose to display any content they want.

The only prerequisite is that the victim page performs a JavaScript navigation to an invalid URL or does something similar that causes no content to be painted. For instance, an open redirect in google.com/url? was vulnerable to this when I tested it a couple of weeks ago (seems that something has changed in the response that causes it not to work now).

Tested this on Windows and Android, it seems likely that it will work on other OSs as well. When reproducing this, the attacker's real origin might flicker for a split second when the navigation is happening. I noticed that tweaking the timing can make this less noticeable.

VERSION
Chrome Version: 119.0.6045.124
Operating System: Windows 11, Android 14

REPRODUCTION CASE
Host the attacker and victim PoC on a different origin.

  1. Open attacker-poc.html and click to open a new tab
  2. Notice the tab shows victim's origin in the URL bar but displays content from the attacker

CREDIT INFORMATION
Reporter credit: Thomas Orlita

The original report as published on the Chromium issue tracker, by Thomas Orlita. 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 fails to clear the previous page's rendered content when a navigation results in no new content being painted, leaving stale cross-origin content visible.

Impact

An attacker could spoof content from another origin for up to four seconds, and by repeating the navigation, prolong the spoof; the page is not interactive, and the attacker's real origin might flicker briefly.

What the attacker needed

Victim page navigates to an invalid URL; attacker page holds a reference to the window

How it was found

  1. Host the attacker and victim proof-of-concept on different origins.
  2. Open the attacker page and click to open a new tab.
  3. Observe that the tab shows the victim's origin in the URL bar but displays content from the attacker.

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.

When you visit a web page, the browser normally replaces what you see with the new page. Here, if the new page fails to load anything, the browser keeps showing the old page's content for a few seconds. An attacker can use this to make their own content appear under a different website's address, tricking users.

What is Misconfiguration?

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.

More by Thomas Orlita

View all

22 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.

Security misconfiguration

The lesson behind this report.

Settings left unsafe: exposed panels, open storage buckets, debug modes, default credentials.