On Thu, Nov 22, 2012 at 11:41 PM, Marc Espie <[email protected]> wrote:
>
> 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.

that's not a specialized condition reserved to js interpreters, and i
also don't wish to talk about larger aspects because i'd be entering
an area that's dominated by quality of implementation issues that
aren't solved by os access control tools

> 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.

same applies

> 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.

that's interesting. the subject is about a potential configuration
language that is managed by the administrator, such as polkit's and
sudo's

>
>
> 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.

every time i pair malloc() with free(), i don't feel enlightened; i
don't feel like wallowing in thoughts of my own self-worth; i don't
feel like masturbating intellectually

i should know by now, given that i'm 3 months into rewriting
infrastrusture/bin/dpb in C

Reply via email to