Re:Reading privileged memory with a side-channel
by diyseguy on Wednesday January 03, 2018 @09:44PM
(#16067581)
I thought it was supposed to be exploitable by javascript? If you can get to the machine and run c code, well, that doesn't seem like an exploit?
[ Parent
| on HN ]
Re:Reading privileged memory with a side-channel
by PeterisP on Friday January 05, 2018 @11:12AM
(#16079448)
At its core both vulnerabilities are essentially local privilege escalation bugs (i.e. a random process can read e.g. secret keys from another process), but that still is a very important exploit - if I can run unprivileged C code on e.g. AWS and are able to read the memory of someone else running on the same shared machine, that's really bad.
The Javascript case is the main one that makes it remotely exploitable.
Re:Reading privileged memory with a side-channel
by FranOntanaya on Wednesday January 03, 2018 @09:56PM
(#16067651)
My understanding is it's anything that can make a running process mis-train the CPU core and read the values back. Consider, for example, shared hosts without separate process pools, running code from different users with the same interpreter processes.
Re:Reading privileged memory with a side-channel
by ComputerGuru on Thursday January 04, 2018 @01:50AM
(#16068516)
Just because it runs in a C PoC does not mean it only runs in C.
Re:Reading privileged memory with a side-channel
by porjo on Wednesday January 03, 2018 @11:43PM
(#16068098)
From the Spectre whitepaper:
> In addition to violating process isolation boundaries using native code, Spectre attacks can also be used to violate browser sandboxing, by mounting them via portable JavaScript code. We wrote a JavaScript program that successfully reads data from the address space of the browser process running it.
The whitepaper doesn't contain example JS code however
Re:Reading privileged memory with a side-channel
by diyseguy on Thursday January 04, 2018 @12:01AM
(#16068166)
This whitepaper describes the Javascript exploit in Section IV. I'm struggling to understand it though: http://www.cs.vu.nl/~herbertb/download/papers/anc_ndss17.pdf
Re:Reading privileged memory with a side-channel
by diyseguy on Thursday January 04, 2018 @11:00AM
(#16071321)
This too was provided as a proof of concept (without explanation): https://brainsmoke.github.io/misc/slicepattern.html. I'm not sure what I'm looking at though
Re:Reading privileged memory with a side-channel
by diyseguy on Tuesday January 09, 2018 @08:42PM
(#16111928)
This is the first implementation in Javascript I have seen so far: http://xlab.tencent.com/special/spectre/js/check.js
Re:Reading privileged memory with a side-channel
by PeterisP on Friday January 05, 2018 @11:10AM
(#16079433)
At its core both vulnerabilities are essentially privilege escalation bugs (i.e. a random process can read e.g. secret keys from another process), but the Javascript case is the one that makes it remotely exploitable.