News for hackers. Stuff that matters.
Re:Potential Impact of Spectre on Processors in the Power fa... by InclinedPlane on Friday January 05, 2018 @08:17PM (#16083219)
The only way to exploit these vulnerabilities is to run code on target machines. If that's not possible then the vulnerability is irrelevant. Using firewalls to keep attackers away from your vulnerable machines is a viable strategy in this case.
Re:Potential Impact of Spectre on Processors in the Power fa... by ams6110 on Friday January 05, 2018 @08:30PM (#16083278)
Conventional thinking is that if a malicious user can run code on your system, you've lost. In that sense, this is just another local exploit, of which there are many.
Re:Potential Impact of Spectre on Processors in the Power fa... by InclinedPlane on Friday January 05, 2018 @08:35PM (#16083302)
This includes fully sandboxed code, however, which is an important distinction. The fact that a driveby javascript exploit could potentially result in leaking every important secret from your system (logins, encryption keys, what-have-you) is why people are taking this so seriously.
Re:Potential Impact of Spectre on Processors in the Power fa... by im3w1l on Saturday January 06, 2018 @03:14AM (#16084365)
I assume exploitability through javascript depends very strongly on how the browser treats it. If it's jit-ed to optimal machine code it should be easy. If it's interpreted it should be harder.

So question is, can the Javascript engine generate suboptimal but safe machine code?

Re:Potential Impact of Spectre on Processors in the Power fa... by petecox on Friday January 05, 2018 @09:21PM (#16083473)
Algorithmically is it possible to pass only 'safe' interpreted code to the CPU? The majority of Javacript engines (Chakra, V8, Spidemonkey and JavasciptCore) are under a security-auditable FOSS license. Browsers claiming Spectre/Meltdown immunity would be in the next release notes, surely.

I'm not discounting that CPUs should operate correctly into the future but the current sandboxes would seem to rely on whims of a CPU's microcode. And the question for browser makers is whether to trust them.

Re:Potential Impact of Spectre on Processors in the Power fa... by kazagistar on Saturday January 06, 2018 @01:46AM (#16084186)
Its not about algorithms. The issue is mentioned in the paper: even if the cache-based side channels are stopped (lets say, by manually clearing any cached memory as soon as its accessed, reducing performance to 0.1% of what it is now) there are other potential side channels like through limited CPU resources. A lot of the "fixes" might just be mitigations, that don't solve the problem entirely, but make it take much longer. Maybe you can cover up enough holes, and make the timers available poor enough that it takes a few hours or days to read a single byte. In other words, mitigations to make things less simple.
Re:Potential Impact of Spectre on Processors in the Power fa... by gruez on Saturday January 06, 2018 @12:35AM (#16084019)
>Algorithmically is it possible to pass only 'safe' interpreted code to the CPU?

in other words, the halting problem?

Re:Potential Impact of Spectre on Processors in the Power fa... by amock on Saturday January 06, 2018 @01:34AM (#16084155)
It's not the halting problem because you can have false positives. If the code can't be proven safe it is rejected.
Re:Potential Impact of Spectre on Processors in the Power fa... by paulie_a on Friday January 05, 2018 @08:29PM (#16083273)
>if it's not possible to run code

We are doomed