New issue
Advanced search Search tips

Issue 714177 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 677220
Owner: ----
Closed: Oct 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug-Security



Sign in to add a comment

Security: SecureEventInput Not Enabled On Password Fields On OS X

Reported by r...@agilebits.com, Apr 21 2017

Issue description

VULNERABILITY DETAILS
Chrome (and Chrome based browsers) are allowing password keystrokes to be broadcast to the rest of the system. This seems to be a regression as I'm finding evidence that this wasn't the case prior and that secure input was being enabled (https://bugs.chromium.org/p/chromium/issues/detail?id=46921).

VERSION
Chrome Version : 57.0.2987.133 (64-bit) [stable]
Operating System : Mac OS X 10.12.4 (16E195)

REPRODUCTION CASE

I've attached a really simple HTML file that includes two fields, a text field and a password field. When typing in a secure text field (password field) on OS X, the expectation is that EnableSecureEventInput() will be called so that key presses are not sent to the event tap that any process can listen to.

What I'm seeing is that when typing in either fields, the key presses are making their way to the tap. This can be demonstrated by using the BlockPass app available here: https://github.com/danielpunkass/Blockpass

Using this app, you can set a string that it will watch for. Specifically you can give it the prefix to your password and it will alert you when you start typing it in a way that allows other processes to see it. 

That it can detect that I'm typing my password indicates that Chrome is not enabling Secure Event Input. 
 
SecureInput.html
190 bytes View Download
Components: Blink>Forms>Password
Labels: OS-Mac
We expect this to work (although there are obscure cases where it won't e.g. Issue 695415).

From a security POV, this is pretty low, insofar as a system compromised with malware has myriad ways of getting your typed data already, but this is a defense-in-depth that we do /try/ to opt-into.

Comment 2 by r...@agilebits.com, Apr 21 2017

> We expect this to work (although there are obscure cases where it won't

It's 100% reproducible here, so I don't think the obscure cases are as obscure as you may think they are.

I tried it with a bunch of websites, across different tabs in Chrome, across relaunches of Chrome. Other users on our team have reproduced it as easily as well. 

RE #2: My point is merely that we have known-but-obscure cases where it isn't working, your report is new and broader, and hence it's active and assigned to the right component.

Comment 4 Deleted

Comment 5 Deleted

Comment 6 by mea...@chromium.org, Apr 21 2017

Labels: Security_Severity-Low Security_Impact-Stable
Status: Available (was: Unconfirmed)
Confirmed, setting severity-low.
Project Member

Comment 7 by sheriffbot@chromium.org, Apr 22 2017

Labels: Pri-2

Comment 8 by rsesek@chromium.org, Oct 12 2017

Mergedinto: 677220
Status: Duplicate (was: Available)
Project Member

Comment 9 by sheriffbot@chromium.org, Mar 29 2018

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment