Skip to content
Info disclosure Disclosed report

"Spy in the Sandbox" - Security issue related to High Resolution Time API

Yossi Oren Follow

Originally disclosed on Mozilla

  • Fixed in 47 days
  • Paid in 60 days
  • Disclosed after 47 days
Text
Created attachment 8609163
spyinthesandbox-ccs15.pdf (draft of technical paper about the problem)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3

Steps to reproduce:

My name is Yossi and I’m a post-doc at Columbia University’s Network Security Lab.  We’ve recently published a report describing a new Javascript-based network attack.  Our attack lets a malicious website learn a surprising amount of personal information about an innocent user, and is largely based upon repeated calls to performance.now() as a measurement method.

Here is a proof of concept that works on Firefox 34 and later for Mac OS and Linux:
http://s.codepen.io/yossioren/debug/ba94a14dd5942fda5db1a3e70809181d?

From our testing it is very apparent that somewhat reducing the resolution of performance.now() will make the attack much more difficult. We noticed that various browser vendors implement the call with different precisions, with Firefox for Linux and MacOS going down to the single nanosecond.  Our attack as described becomes very difficult to launch once the resolution of performance.now() is upper-bounded to 5 thousandths of a millisecond.

Assuming there is not too much of a usability loss (to games, music, VR, etc) if this resolution is upper-bounded, perhaps you should look at changing your implementation.  We’re also in touch with the relevant parties at the W3C to modify the standard accordingly.

I would welcome answering any questions or concerns you may have.  We can have a phone call / teleconf if it’s easier for you.

The original report as published on Mozilla's Bugzilla, by Yossi Oren. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity info disclosure bug in DOM: Core & HTML. Mozilla made it public on 8 July 2015.

About Info disclosure

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.