New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 712246 link

Starred by 4 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , Chrome , Mac , Fuchsia
Pri: 2
Type: Bug-Security

Blocked on:
issue 713521



Sign in to add a comment

Security: CSS :visited with mix-blend-mode can leak browser history

Project Member Reported by skobes@chromium.org, Apr 17 2017

Issue description

An exploit is described in https://lcamtuf.blogspot.com/2016/08/css-mix-blend-mode-is-bad-for-keeping.html which tricks the user into revealing their browser history by clicking on an image whose visibility depends on overlaid <a> elements having a specific combination of :visited states.

Repro: http://lcamtuf.coredump.cx/whack/
 
Labels: Security_Severity-Low Security_Impact-Head
I'm marking this severity-low for the history leak, but it's definitely a privacy concern.

Comment 2 by meade@chromium.org, Apr 18 2017

Cc: ojan@chromium.org
Adding ojan since he's worked on stuff like this before.
Given that this was a public disclosure (by a Googler) from last year, any reason to view-restrict this?

Comment 4 by mea...@chromium.org, Apr 19 2017

Labels: -Security_Impact-Head Security_Impact-Stable allpublic
I agree we don't need to view-restrict this.

Comment 5 by mea...@chromium.org, Apr 19 2017

Status: Available (was: Unconfirmed)

Comment 6 by shans@chromium.org, Apr 20 2017

Labels: Update-Daily

Comment 7 by nainar@chromium.org, Apr 20 2017

Cc: nainar@chromium.org
Having chatted with our Predictability effort leads there really isn't much we can do at this stage. The usage is too high and the security impact low to warrant a deprecation/removal. 

All we can do is take this as one other sign that we should rethink how :visited works. 

Comment 8 by skobes@chromium.org, Apr 20 2017

I assume you mean the usage of :visited is too high to remove it entirely.  But could there be a more targeted mitigation, like using the non-visited background color in mix-blend-mode computations?

Comment 9 by nainar@chromium.org, Apr 20 2017

Sorry no I meant mixed-blend-mode usage here. 

Comment 10 by meade@chromium.org, Apr 20 2017

Cc: chrishtr@chromium.org
Owner: rbyers@chromium.org
I'm not too sure what the best way forward is. rbyers@, do you have any thoughts?

Comment 11 by meade@chromium.org, Apr 20 2017

Labels: -Update-Daily Update-Weekly
Blockedon: 713521
IMHO it's time someone took a serious look at overhauling how :visited behaves to try to solve these issues.  It's been discussed a lot but I couldn't find an existing bug so filed bug 713521.
Owner: ----

Comment 14 by suzyh@chromium.org, Apr 20 2017

In that case, what is the action required on this bug (as opposed to bug 713521)?
Cc: rbyers@chromium.org
Components: -Privacy
Labels: -Update-Weekly Update-Quarterly
Dropping the update frequency on this to match the blocking bug 713521, since there doesn't seem to be anything for us to do until that is resolved. Also removing the "Privacy" component, since that's captured by the blocking bug.
Labels: BlockedBug
Labels: -Update-Quarterly
Labels: Update-Quarterly
Cc: msramek@chromium.org alancutter@chromium.org shend@chromium.org ericwilligers@chromium.org
Components: Privacy
Labels: OS-Fuchsia
+msramek for Privacy and +some more CSS OWNERS.
I certainly vote for issue 713521 as a "once and for all" solution.

Comment 22 by ojan@chromium.org, May 8 2018

Cc: -ojan@chromium.org

Sign in to add a comment