Complexity
Complexity
Posted Mar 21, 2013 22:58 UTC (Thu) by dlang (guest, #313)In reply to: Complexity by wahern
Parent article: Anatomy of a user namespaces vulnerability
Root can mount things inside the chroot, create device files, etc and so it's possible for someone to escape out of a chroot after they become root.
I've never bought into the 'this makes chroot worthless' mantra, it may only slow an attacker, but slowing an attacker can still be valuable.
If these namespaces could only be setup by root, we would not really be any worse off, but since people are so fascinated by the "my admin won't let me do X, so I'm going to figure out a way to do it anyway" problem that they are giving too much power to non-root users.
If you admin doesn't want to let you do something, go use a different box (including one where you are the admin), don't engineer a way around the admin's restrictions.
