Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This of course assumes you are running around an actual multiuser system without 1777 /tmp and 077 umask like it is 1989.


All the attacker has to do is:

  touch /tmp/pubkey.pem
  chmod a+w /tmp/pubkey.pem
before the victim runs the code.

No sticky bit, no restrictive umask, also no protected_hardlinks/protected_symlinks is going to save you.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: