Skip to content
Misconfiguration Advisory Intermediate CVE-2024-6995

Inappropriate implementation in Fullscreen (CVE-2024-6995)

The address bar on Chrome for Android can persistently show a previous page's URL after the address bar is hidden by scrolling and the user switches tabs or the page closes. An attacker could spoof the origin of the currently displayed page.

Alesandro Ortiz Follow

Originally disclosed on Chrome VRP

Bounty$6,000 Medium View original
  • Fix shipped in 53 days

SUMMARY

The address bar can display another page's URL quite persistently after specific conditions, leading to origin spoofing.

When a user is scrolling down on a page, the browser hides the address bar (if it's been visible for at least 3 seconds). This is not an issue by itself.

When address bar is hidden, if the page is closed, a new tab is opened, or the user switches tabs quickly with the address bar not fully shown, the spoof occurs. The address bar will continue to show the previous page's URL.

VULNERABILITY DETAILS

The spoof can be triggered manually by a user (this is how I accidentally discovered it), or the opener closes the window while the user is scrolling. There may be other ways of triggering this spoof.

The issue only occurs if the address bar is fully hidden or is partially transitioning from hidden to showing. It does not seem to occur if the address bar is hiding from a fully-shown state.

The URL spoof persists after these actions:

  • User switches to another app or home screen, and then returns to Chrome
  • User switches tab
  • Page or user creates new windows (even on different tabs)
  • Page or user navigates to another page (even cross-origin + cross-site)
  • User completely closes tab

The correct URL is shown after these actions:

  • User scrolls on page (or tries to scroll on page, even if page isn't scrollable)

This seems to have been introduced by commmit 505e507589722777bcc973394f2c1f78b9768077 [1].

[1] Don't relayout control container until scrolling ceases https://chromium.googlesource.com/chromium/src.git/+/505e507589722777bcc973394f2c1f78b9768077

This change prevents address bar captures while the page is scrolling:

private final Runnable mUpdateVisibilityRunnable =
    new Runnable() {
        @Override
        public void run() {
            int visibility = shouldShowAndroidControls() ? View.VISIBLE : View.INVISIBLE;
            if (mControlContainer == null
                    || mControlContainer.getView().getVisibility() == visibility) {
                return;
            } else if (visibility == View.VISIBLE
                    && mContentViewScrolling        // <- If scrolling, update will be prevented
                    && ToolbarFeatures.shouldSuppressCaptures()) {
                // Don't make the controls visible until scrolling has stopped to avoid
                // doing it more often than we need to. onContentViewScrollingStateChanged
                // will schedule us again when scrolling ceases.
                return;
            }

            // ...
        }
    };

[2] https://source.chromium.org/chromium/chromium/src/+/main:chrome/android/java/src/org/chromium/chrome/browser/fullscreen/BrowserControlsManager.java;l=126;drc=3eff3c5eea572776f2839fed4d43d31162ed911a

@Override
public void onContentViewScrollingStateChanged(boolean scrolling) {
    if (!scrolling                     // <- If scrolling, update will be prevented
            && ToolbarFeatures.shouldSuppressCaptures()
            && shouldShowAndroidControls()
            && mControlContainer.getView().getVisibility() != View.VISIBLE) {
        scheduleVisibilityUpdate();
    }

    mContentViewScrolling = scrolling;
}

[3] https://source.chromium.org/chromium/chromium/src/+/main:chrome/android/java/src/org/chromium/chrome/browser/fullscreen/BrowserControlsManager.java;l=267;drc=3eff3c5eea572776f2839fed4d43d31162ed911a

ADDITIONAL CONTEXT

On Canary: On my device (using dark mode), when the address bar has a slightly darker background behind text, this will repro. On Stable, there isn't a background color change for some reason. Seems like zooming in page with fingers also results in dark background behind text, but since the gesture is shorter, it's more difficult to perform the attack (even programatically).

I started noticing this during my Chrome normal usage since mid-2023, but it was elusive since I didn't know what was triggering it (despite my many, many attempts). After triggering this accidentally at least once a month for the past year, I finally figured out the reliable trigger a couple of days ago. It's possible others noticed this behavior too.

VERSION

Chrome Version: 127.0.6509.0 Canary, 125.0.6422.72 Stable.

Operating System: Android 12

BISECT

Starts reproducing on commit https://chromium.googlesource.com/chromium/src.git/+/505e507589722777bcc973394f2c1f78b9768077

Landed in 109.0.5368.0 in October 2022: https://chromiumdash.appspot.com/commit/505e507589722777bcc973394f2c1f78b9768077

Verified repro down to Android snapshot build 1060656 [1].

[1] https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Android/1060656/

REPRODUCTION CASE

There may be additional ways to reproduce this issue. This is the best PoC I could develop in a day. I may have an improved PoC within the next couple of weeks.

The PoC uses Video PiP to show user instructions, but if the user knows how to do this, one less tap is needed. A compromised renderer may also be able to automatically perform some of these actions (other than the scroll/fling).

Scenario 1: Attacker closes tab programatically

  1. Navigate to https://alesandroortiz.com/security/chromium/origin-spoof-scroll.html
  2. Tap anywhere once
  3. Tap anywhere again
  4. Wait for 3 second countdown to complete, then scroll/fling down slowly

Observed: After the tab is closed by opener (attacker) page, the address bar still shows the URL of the closed page.

Expected: The address bar always shows the URL of the currently committed page (...if not making a browser-initiated navigation)

Scenario 2: User manually switches tabs while page is scrolling

This is how I had accidentally triggered it (while browsing news sites and switching tabs quickly).

  1. Navigate a tab to https://example.com (or any page to simulate the attacker page)
  2. In the same tab group, navigate a tab to https://www.google.com/accounts/about/ (or any tall page, such as news websites; this is the target page)
  3. Wait 3 seconds after loading the tab.
  4. Scroll/fling down on the target page until address bar is fully hidden
  5. Do a fling up (i.e. scroll up and release finger so it continues scrolling) and immediately afterwards tap the other tab icon in the tab group switcher (at the bottom).

Observed: After the tab is switched, the address bar still shows the URL of the previous tab.

Expected: Same as Scenario 1.

CREDIT INFORMATION

Reporter credit: Alesandro Ortiz https://AlesandroOrtiz.com

The original report as published on the Chromium issue tracker, by Alesandro Ortiz. Images and videos are our own copies; raw HTML is shown as text. View it on Chromium issue tracker.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 6 min read.

Context

Chrome on Android hides the address bar while the user scrolls down a page, provided the bar has already been visible for at least three seconds. That behaviour is intended and, on its own, harmless. The address bar is the browser's primary trust indicator: it is what tells the user which origin the committed page belongs to. This report describes a case where that indicator keeps showing the URL of a page that is no longer there, which is origin spoofing.

The affected component is the Android fullscreen / browser controls code, specifically BrowserControlsManager. The issue was tracked as CVE-2024-6995, an inappropriate implementation in Fullscreen, rated medium severity, and was disclosed on 23 July 2024. The reporter is Alesandro Ortiz, credited through the Chrome VRP.

Setup

The reporter tested on:

  • Chrome 127.0.6509.0 Canary
  • Chrome 125.0.6422.72 Stable
  • Android 12

No accounts, special flags or tooling are needed. The precondition is simply a page tall enough to scroll, and the address bar being fully hidden, or partway through the transition from hidden to shown. The reporter notes the spoof does not appear to occur when the bar is hiding from a fully shown state.

Finding it

The reporter had been seeing this during normal browsing since mid-2023, mostly on news sites while switching tabs quickly, but could not pin down the trigger despite many attempts. It happened accidentally roughly once a month for a year before the reliable trigger was identified. The spoof can be triggered manually by the user, or by the opener closing the window while the user is scrolling. The reporter notes there may be other ways to trigger it.

Once triggered, the wrong URL is persistent. The address bar continues to show the previous page's URL after:

  • the user switches to another app or the home screen and returns to Chrome;
  • the user switches tab;
  • the page or the user creates new windows, even on different tabs;
  • the page or the user navigates to another page, even cross-origin and cross-site;
  • the user completely closes the tab.

The correct URL returns only when the user scrolls on the page, or tries to scroll on a page that is not scrollable.

Exploitation

The reporter's proof of concept uses Video Picture-in-Picture to display instructions to the user, though a user who already knows the steps needs one fewer tap. A compromised renderer may also be able to perform some of these actions automatically, with the exception of the scroll or fling, which requires a real gesture.

Scenario 1: the attacker closes the tab programmatically

  1. Navigate to the PoC page:
Text
https://alesandroortiz.com/security/chromium/origin-spoof-scroll.html
  1. Tap anywhere once.
  2. Tap anywhere again.
  3. Wait for the three second countdown to complete, then scroll or fling down slowly.

Observed: after the tab is closed by the opener (attacker) page, the address bar still shows the URL of the closed page.

Expected: the address bar always shows the URL of the currently committed page, unless a browser-initiated navigation is in progress.

Scenario 2: the user switches tabs manually while the page is scrolling

This is the accidental path the reporter hit while browsing news sites.

  1. Navigate a tab to a page that simulates the attacker page:
Text
https://example.com
  1. In the same tab group, navigate a tab to a tall target page:
Text
https://www.google.com/accounts/about/

Any tall page, such as a news site, works as the target. 3. Wait three seconds after loading the tab. 4. Scroll or fling down on the target page until the address bar is fully hidden. 5. Do a fling up (scroll up and release the finger so scrolling continues) and immediately afterwards tap the other tab icon in the tab group switcher at the bottom.

Observed: after the tab is switched, the address bar still shows the URL of the previous tab.

Expected: same as Scenario 1.

The common element in both scenarios is that the address bar is hidden, or mid-transition from hidden to shown, at the moment the tab is closed or switched.

Root cause

The reporter bisected the issue to a single commit, [redacted], titled "Don't relayout control container until scrolling ceases". It landed in 109.0.5368.0 in October 2022, and the reporter verified the reproduction down to Android snapshot build 1060656.

The change defers visibility updates of the browser controls while the content view is scrolling. In BrowserControlsManager, the visibility runnable returns early when the controls should become visible but scrolling is in progress and captures are suppressed:

Java
private final Runnable mUpdateVisibilityRunnable =
    new Runnable() {
        @Override
        public void run() {
            int visibility = shouldShowAndroidControls() ? View.VISIBLE : View.INVISIBLE;
            if (mControlContainer == null
                    || mControlContainer.getView().getVisibility() == visibility) {
                return;
            } else if (visibility == View.VISIBLE
                    && mContentViewScrolling        // <- If scrolling, update will be prevented
                    && ToolbarFeatures.shouldSuppressCaptures()) {
                // Don't make the controls visible until scrolling has stopped to avoid
                // doing it more often than we need to. onContentViewScrollingStateChanged
                // will schedule us again when scrolling ceases.
                return;
            }

            // ...
        }
    };

The intent is to avoid relayouting the control container more often than necessary: while the user is scrolling, the update is skipped, and the scrolling state callback is supposed to reschedule it once scrolling stops:

Java
@Override
public void onContentViewScrollingStateChanged(boolean scrolling) {
    if (!scrolling                     // <- If scrolling, update will be prevented
            && ToolbarFeatures.shouldSuppressCaptures()
            && shouldShowAndroidControls()
            && mControlContainer.getView().getVisibility() != View.VISIBLE) {
        scheduleVisibilityUpdate();
    }

    mContentViewScrolling = scrolling;
}

The reporter links the issue to this commit, which prevents address bar captures while the page is scrolling; the stale URL is the visible consequence. The reporter's wording is that the change "prevents address bar captures while the page is scrolling"; the stale URL is the visible consequence.

Impact

An attacker page can leave its own URL displayed in the address bar after the tab has been closed or after the user has moved to a different tab. Because the spoof survives tab switches, new windows, cross-origin and cross-site navigations, and even closing the tab, a user can be looking at one origin while the address bar names another. The reporter frames this as origin spoofing. The practical constraint is that the trigger needs the address bar to be hidden or mid-transition, which in the manual scenarios requires a scroll or fling gesture from the user; a compromised renderer may be able to automate the other actions but not the scroll itself. The report does not describe a concrete phishing chain beyond the spoof itself.

Fix

The report does not state which change fixed the issue. The defect sits in the deferred visibility update in BrowserControlsManager: the update is skipped while scrolling and only rescheduled when scrolling stops, so any state change that happens in between leaves the controls showing stale content.

Variants to test

  • Other deferred UI updates tied to scroll state. Look for code paths that skip a refresh while a gesture is in progress and rely on a gesture-end callback to reschedule it. A positive result is a stale label, title, security indicator or URL after a state change that happens mid-gesture.
  • Tab switching during a fling on other mobile browsers. Repeat Scenario 2 on other Android browsers with collapsing toolbars. A positive result is the previous tab's URL remaining visible after the switch until the user scrolls.
  • Closing a tab from an opener while the victim scrolls. Reproduce Scenario 1 with a page that calls window.close() on itself after a delay. A positive result is the closed page's URL still shown in the bar.
  • Navigation during the hidden-to-shown transition. Navigate cross-origin while the bar is partway through appearing. A positive result is the old origin's URL displayed against the new page.
  • Returning from background. Send the browser to the home screen and back while the bar is hidden. A positive result is the stale URL surviving the app switch, as the reporter observed.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 14 min read.

What happened, in plain words

Every browser has an address bar. It is the strip at the top of the window that shows the web address (the URL) of the page you are looking at. We all use it to decide whether we trust a page: if it says your bank's address, you assume you are on your bank's site. Security people call the address bar the browser's main "trust indicator" for exactly this reason.

On Android, Chrome hides the address bar when you scroll down a page, so you get more room to read. That is a normal, intended feature. The problem described here is that, under certain conditions, the address bar keeps showing the address of a page that is no longer on screen. You might be looking at one site while the bar still names another. That mismatch is called origin spoofing: the browser's trust indicator is lying about where you are.

The bug was tracked as CVE-2024-6995, described as an "inappropriate implementation" in the Fullscreen component of Chrome, rated medium severity, and disclosed on 23 July 2024. It was reported by Alesandro Ortiz through the Chrome VRP (Chrome's Vulnerability Reward Program, the scheme that pays people for finding and reporting security bugs).

Context

To follow this, you only need to know a few everyday ideas.

  • The address bar is the part of the browser that shows the URL of the page you are on. It is what you glance at to check you are on the right site.
  • Scrolling means moving the page up or down with your finger. A fling is a quick swipe where you lift your finger and the page keeps moving on its own for a moment, like a ball rolling after you push it.
  • Fullscreen here means the browser hiding its own controls (the address bar and toolbar) to give the page more space. It is not the same as a video going fullscreen; it is the browser's own furniture sliding away.
  • The committed page is simply the page the browser is currently actually showing. The address bar is supposed to always name the committed page.
  • Origin is the combination of scheme, host and port that identifies a site, for example the site name you see in the address bar. Two pages with different origins are different sites as far as the browser's security rules are concerned.
  • Cross-origin and cross-site navigation means moving from one site to a completely different one, for example from one company's site to another's.
  • A renderer is the part of the browser that actually draws a web page. It runs separately from the rest of the browser for safety, so a page that misbehaves is contained. A "compromised renderer" means an attacker has managed to take control of that drawing process.
  • A commit is a saved change to a software project's source code, with a long identifier made of letters and numbers. Think of it as a numbered entry in the project's change history.
  • Bisecting means testing older and older versions of the software until you find the exact change that introduced a bug. It is like flicking back through a diary to find the day something started.

The affected part of Chrome is the Android fullscreen and browser controls code, specifically a class called BrowserControlsManager. A class is just a named bundle of code that handles one job; this one handles showing and hiding the browser's controls.

Setup

The reporter tested on these versions:

  • Chrome 127.0.6509.0 Canary
  • Chrome 125.0.6422.72 Stable
  • Android 12

Canary is Chrome's experimental early-release channel, where new changes appear before they reach ordinary users. Stable is the normal release everyone gets.

No accounts, special settings or tools are needed to reproduce it. The only precondition is a page tall enough to scroll, and the address bar being either fully hidden or partway through the animation of coming back into view. The reporter notes the spoof does not seem to happen when the bar is in the middle of hiding from a fully shown state. In other words, the dangerous moment is when the bar is out of sight or on its way back, not on its way out.

Finding it

The reporter had been seeing this during ordinary browsing since mid-2023, mostly on news sites while switching tabs quickly. For a long time it was hard to pin down: it happened by accident roughly once a month for a year before the reliable trigger was found. The spoof can be set off by the user's own actions, or by the page that opened the window closing it while the user is scrolling. The reporter notes there may be other ways to trigger it as well.

Once it happens, the wrong address is stubborn. The address bar keeps showing the previous page's URL after:

  • the user switches to another app or the home screen and comes back to Chrome;
  • the user switches tab;
  • the page, or the user, opens new windows, even on different tabs;
  • the page, or the user, navigates to another page, even to a completely different site;
  • the user closes the tab entirely.

The correct URL only comes back when the user scrolls on the page, or tries to scroll on a page that cannot scroll. That last detail is notable: only a scroll brings the correct URL back.

Exploitation

Exploitation here means actually making the bug happen in a way that could fool someone. The reporter's proof of concept (a small demonstration page) uses Video Picture-in-Picture to show the user instructions on screen. Picture-in-Picture is the small floating video window some sites can show on top of other apps. A user who already knows the steps needs one fewer tap. The reporter also notes that a compromised renderer might be able to perform some of these actions automatically, with the exception of the scroll or fling, which needs a real finger gesture.

Scenario 1: the attacker closes the tab programmatically

"Programmatically" means done by code rather than by a person tapping. Here the page that opened the tab closes it from code while the victim is scrolling.

  1. Navigate to the PoC page:
Text
https://alesandroortiz.com/security/chromium/origin-spoof-scroll.html

This is the demonstration page the reporter built. Opening it is the first step because it sets up the situation: a page that will later close its own tab while you are scrolling.

  1. Tap anywhere once.
  2. Tap anywhere again.

These two taps are part of the demonstration's scripted sequence. The page uses them to move through its steps and to start the countdown described next.

  1. Wait for the three second countdown to complete, then scroll or fling down slowly.

The three second wait matters because Chrome only hides the address bar if it has already been visible for at least three seconds. Scrolling down then hides the bar, which is the state the bug needs.

Observed: after the tab is closed by the opener (attacker) page, the address bar still shows the URL of the closed page.

Expected: the address bar always shows the URL of the currently committed page, unless the browser itself is in the middle of a navigation it started.

Scenario 2: the user switches tabs manually while the page is scrolling

This is the accidental path the reporter hit while browsing news sites: no attacker code needed, just quick tab switching.

  1. Navigate a tab to a page that simulates the attacker page:
Text
https://example.com

example.com is a standard placeholder domain used in documentation. Here it stands in for any page an attacker might control.

  1. In the same tab group, navigate a tab to a tall target page:
Text
https://www.google.com/accounts/about/

Any tall page, such as a news site, works as the target. It needs to be tall so there is something to scroll.

  1. Wait three seconds after loading the tab.

Again, this is the minimum time the address bar must have been visible before Chrome will hide it on scroll.

  1. Scroll or fling down on the target page until the address bar is fully hidden.

This puts the browser into the vulnerable state: the bar is out of sight.

  1. Do a fling up (scroll up and release the finger so scrolling continues) and immediately afterwards tap the other tab icon in the tab group switcher at the bottom.

The fling up starts the bar coming back into view, and the quick tab tap happens while it is mid-transition. That is the moment the bug needs.

Observed: after the tab is switched, the address bar still shows the URL of the previous tab.

Expected: same as Scenario 1.

What both scenarios have in common is timing. The address bar is hidden, or partway through coming back, at the exact moment the tab is closed or switched.

Root cause

Root cause means the underlying reason the bug exists in the code, as opposed to the steps that trigger it.

The reporter bisected the issue to a single commit, [redacted], titled "Don't relayout control container until scrolling ceases". It landed in Chrome 109.0.5368.0 in October 2022, and the reporter verified the reproduction all the way back to Android snapshot build 1060656. A snapshot build is an automatically produced test build of the browser, kept so developers can go back to older states.

The change makes the browser controls wait before updating their visibility while the page content is scrolling. In BrowserControlsManager, the piece of code responsible for making the controls visible gives up early when the controls should become visible but the user is still scrolling and captures are suppressed:

Java
private final Runnable mUpdateVisibilityRunnable =
    new Runnable() {
        @Override
        public void run() {
            int visibility = shouldShowAndroidControls() ? View.VISIBLE : View.INVISIBLE;
            if (mControlContainer == null
                    || mControlContainer.getView().getVisibility() == visibility) {
                return;
            } else if (visibility == View.VISIBLE
                    && mContentViewScrolling        // <- If scrolling, update will be prevented
                    && ToolbarFeatures.shouldSuppressCaptures()) {
                // Don't make the controls visible until scrolling has stopped to avoid
                // doing it more often than we need to. onContentViewScrollingStateChanged
                // will schedule us again when scrolling ceases.
                return;
            }

            // ...
        }
    };

Line by line, in plain words:

  • private final Runnable mUpdateVisibilityRunnable = declares a named piece of work, a Runnable, that can be run later. Think of it as a task written on a card, waiting to be picked up.
  • new Runnable() { @Override public void run() { starts the body of that task: the instructions that run when someone picks up the card.
  • int visibility = shouldShowAndroidControls() ? View.VISIBLE : View.INVISIBLE; decides what the controls should look like right now: visible if the browser thinks they should be shown, otherwise invisible.
  • if (mControlContainer == null || mControlContainer.getView().getVisibility() == visibility) { return; } is a shortcut. If there is no container to update, or it already looks the way it should, stop here; there is nothing to do.
  • else if (visibility == View.VISIBLE && mContentViewScrolling && ToolbarFeatures.shouldSuppressCaptures()) { is the important branch. It fires when the controls should become visible, the page is currently scrolling, and the feature that suppresses captures is switched on.
  • The comment explains the intent: don't make the controls visible until scrolling has stopped, to avoid doing it more often than needed. The scrolling-state callback is supposed to schedule the task again when scrolling ceases.
  • return; inside that branch means: stop for now, do nothing. The update is skipped.

The intent is to avoid redrawing the control container more often than necessary. While the user is scrolling, the update is skipped, and a separate callback is supposed to reschedule it once scrolling stops:

Java
@Override
public void onContentViewScrollingStateChanged(boolean scrolling) {
    if (!scrolling                     // <- If scrolling, update will be prevented
            && ToolbarFeatures.shouldSuppressCaptures()
            && shouldShowAndroidControls()
            && mControlContainer.getView().getVisibility() != View.VISIBLE) {
        scheduleVisibilityUpdate();
    }

    mContentViewScrolling = scrolling;
}

Line by line again:

  • @Override public void onContentViewScrollingStateChanged(boolean scrolling) { is the callback that runs whenever the page starts or stops scrolling. The boolean scrolling is simply true while scrolling and false when it stops.
  • if (!scrolling && ToolbarFeatures.shouldSuppressCaptures() && shouldShowAndroidControls() && mControlContainer.getView().getVisibility() != View.VISIBLE) { checks four things at once: scrolling has stopped, the suppression feature is on, the controls should be shown, and they are not currently visible.
  • scheduleVisibilityUpdate(); then queues the visibility task again, so the skipped update finally happens.
  • mContentViewScrolling = scrolling; records the new scrolling state for next time.

The reporter links the issue to this commit, which prevents address bar captures while the page is scrolling; the stale URL is the visible consequence. The reporter's wording is that the change "prevents address bar captures while the page is scrolling"; the stale URL is the visible consequence.

Impact

Impact means what harm the bug could actually cause. An attacker page can leave its own URL displayed in the address bar after the tab has been closed or after the user has moved to a different tab. Because the spoof survives tab switches, new windows, cross-origin and cross-site navigations, and even closing the tab, a user can be looking at one site while the address bar names another. The reporter frames this as origin spoofing.

The practical constraint is that the trigger needs the address bar to be hidden or mid-transition, which in the manual scenarios requires a scroll or fling gesture from the user. A compromised renderer may be able to automate the other actions, but not the scroll itself. The report does not describe a concrete phishing chain beyond the spoof itself. Phishing is tricking someone into believing a page is a trusted site so they enter information there.

Fix

The report does not state which change fixed the issue. The defect sits in the deferred visibility update in BrowserControlsManager: the update is skipped while scrolling and only rescheduled when scrolling stops, so any state change that happens in between leaves the controls showing stale content.

Variants to test

Variants are other places where the same underlying mistake might show up. Testing them is how a single bug report turns into a more thorough fix.

  • Other deferred UI updates tied to scroll state. Look for code paths that skip a refresh while a gesture is in progress and rely on a gesture-end callback to reschedule it. A positive result is a stale label, title, security indicator or URL after a state change that happens mid-gesture.
  • Tab switching during a fling on other mobile browsers. Repeat Scenario 2 on other Android browsers with collapsing toolbars. A positive result is the previous tab's URL remaining visible after the switch until the user scrolls.
  • Closing a tab from an opener while the victim scrolls. Reproduce Scenario 1 with a page that calls window.close() on itself after a delay. window.close() is a built-in browser function that asks the browser to close the current window or tab. A positive result is the closed page's URL still shown in the bar.
  • Navigation during the hidden-to-shown transition. Navigate cross-origin while the bar is partway through appearing. A positive result is the old origin's URL displayed against the new page.
  • Returning from background. Send the browser to the home screen and back while the bar is hidden. A positive result is the stale URL surviving the app switch, as the reporter observed.

Glossary

  • Address bar: the strip at the top of the browser showing the URL of the page you are on; the main signal users rely on to judge whether a site is genuine.
  • Bisect: testing older and older versions of software until the exact change that introduced a bug is found.
  • Browser controls: the browser's own on-screen furniture, such as the address bar and toolbar.
  • Callback: a piece of code the system runs for you when something happens, such as scrolling starting or stopping.
  • Canary: Chrome's experimental early-release channel, used before changes reach ordinary users.
  • Class: a named bundle of code that handles one job.
  • Commit: a saved change to a software project's source code, identified by a long string of letters and numbers.
  • Committed page: the page the browser is currently actually showing.
  • Compromised renderer: a situation where an attacker has taken control of the part of the browser that draws web pages.
  • Cross-origin / cross-site navigation: moving from one site to a completely different one.
  • CVE: a public identifier for a known security vulnerability, so people can refer to it unambiguously.
  • Exploitation: actually making a bug happen in a way that could fool or harm someone.
  • Fling: a quick swipe where you lift your finger and the page keeps scrolling on its own for a moment.
  • Fullscreen (browser controls): the browser hiding its own address bar and toolbar to give the page more space.
  • Impact: what harm a bug could actually cause.
  • Origin: the scheme, host and port that together identify a site; the browser's security rules treat different origins as different sites.
  • Origin spoofing: making the browser's trust indicator, usually the address bar, show an address that does not match the page actually being displayed.
  • Phishing: tricking someone into believing a page is a trusted site so they enter information there.
  • Picture-in-Picture: a small floating video window that can sit on top of other apps.
  • Proof of concept (PoC): a small demonstration that shows a bug can really be triggered.
  • Renderer: the part of the browser that draws a web page, kept separate from the rest of the browser for safety.
  • Root cause: the underlying reason in the code that a bug exists, as opposed to the steps that trigger it.
  • Runnable: a named piece of work that can be handed to the system to run later.
  • Snapshot build: an automatically produced test build of the browser, kept so developers can go back to older states.
  • Stable: the normal Chrome release that everyone gets.
  • URL: the web address of a page, as shown in the address bar.
  • Variants: other places where the same underlying mistake might appear.
  • VRP (Vulnerability Reward Program): a scheme that pays people for finding and reporting security bugs.
  • window.close(): a built-in browser function that asks the browser to close the current window or tab.

More by Alesandro Ortiz

View all

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