New issue
Advanced search Search tips

Issue 798111 link

Starred by 4 users

Issue metadata

Status: WontFix
Owner:
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: ----
Type: Bug



Sign in to add a comment

Pop-under script bypassing popup blocker and focus control rules

Reported by alexscot...@gmail.com, Dec 29 2017

Issue description

Not sure if this would fall under security or UI/Usability/Bug etc. If it is miscategorized I apologize. 

VULNERABILITY DETAILS
Javascript that allows for a site to generate pop-under type windows underneath the user's browser window, bypassing the pop-up blocker and focus control rules. The behavior is summarized as:
1. A user clicks on some affected element on the page, and the mouse-down event triggers a new tab
2. A mouse-up listener is attached to the new tab and immediately captures the mouse-up event from the same click to trigger a second pop-up window on the same single effective user action.
3. The tab is dynamically populated with a base 64 encoded PDF document that forces Chrome's internal PDF viewer to generate a "Please wait.." dialog that pulls focus back to the main browser window
5. An on-focus listener attached to the tab immediately clears the dynamically rendered PDF, in turn closing the "please wait.." dialog.
6. The tab is then closed, leaving the pop-under window that persists behind the browser window until the user notices it. 

This was observed and reverse-engineered from a heavily obfuscated script that is being marketed commercially here:

http://popunderjs.com/


VERSION
Chrome Version: 63.0.3239.108 (Official Build) (64-bit) - Stable
Operating System: Windows 8, Windows 10

REPRODUCTION CASE
Attached HTML page and included Javascript demonstrates the issue.


 
demo.html
6.3 KB View Download
Cc: a...@chromium.org jochen@chromium.org
Components: UI>Browser>PopupBlocker
Labels: -Type-Bug-Security -Restrict-View-SecurityTeam Type-Bug
Summary: Pop-under script bypassing popup blocker and focus control rules (was: Security: Pop-under script bypassing popup blocker and focus control rules)
I was under the impression this had been fixed already via Issue 618362.

Comment 2 by a...@chromium.org, Dec 30 2017

Many popunder bugs have been fixed lately: bug 769351,  bug 780250 ,  bug 768900 .

Please check and report whether this successfully creates a popunder on Chrome Canary.

Comment 3 Deleted

Comment 4 by a...@chromium.org, Dec 30 2017

Owner: a...@chromium.org
Status: Assigned (was: Asss)
Sorry for the slow response. This does not occur in Canary.

Comment 6 by a...@chromium.org, Jan 4 2018

Status: WontFix (was: Assigned)
Ah, thank you for checking. I'll close this bug then.

If you find a popunder technique that works on Canary, please file it and send the bug to me. I'm always happy to kill those dead.

Sign in to add a comment