On Thu, Nov 22, 2012 at 01:27:46PM -0430, Andres Perera wrote:
> why would the runtime be attractive for rop? what configuration vm
> needs syscalls that would be attractive to an attacker that can change
> the address of a jump? does the runtime really need to open sockets,
> or spawn processes? (i'm not even talking about languages)

[...]

> i'm completely serious. i can use a js vm and write a trivial systrace
> sandbox like ssh's which only allows read()

you're only talking about one small aspect of security. Just because your
javascript apps cannot interact with your OS doesn't make them secure.

They also have to be reliable, not trample on each other memory, so that
you get predictable behavior and only have to worry about logic errors in
each app.  People are *relying* on javascript to do real work.  If you're
depositing documents on servers. If you're using gmail. If you're using
any kind of web app, basically.


Every day, people say that high-level languages like java or js are more
secure. They are missing the point. Just because they don't have buffer
overflows doesn't protect them from sloppy developer errors. Just the
opposite, actually: being stupid is no longer a barrier to writing
"production" code, and you end up with idiots writing code, instead of
being stopped right away by C's nastiness.

Reply via email to