Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #30392

Closed (moved)
Open
Opened May 04, 2019 by Trac@tracbot

CSS features allow real-time tracking

CSS features like :hover, :focus, and [value] queries in combination with background image changes allow for the collection of nearly every action a visitor makes on a web page in real-time without JavaScript. Aside from the obvious creep factor this could be used to fingerprint visitors. The attack can be implemented in third party CSS (CSS-XSS).

Proof of Concept: https://twitter.com/davywtf/status/1124146339259002881 Code for proof: https://gist.github.com/wybiral/c8f46fdf1fc558d631b55de3a0267771

Beyond simply fingerprinting based on browsing behavior an attacker could also determine the referring page based on the mouse position at page load.

Solutions to fix the problem would break some aesthetic functionality (i.e. no more :hover image changes) but at that cost it would be trivial to prevent.

Ideally we could eliminate all types of asset requests (e.g. image changes) in all types of pseudo-class selectors or prefetch all asset requests on page load. But that proposal sounds bigger than Tor Browser.

Trac:
Username: davywtf

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#30392