You left a snarky comment, then paraded around a positively lame example as some sort of trophy.
Here's what I can figure out: you need root to set up the environment just so. It's a don't-care. The end.
Here's what I can figure out: you need root to set up the environment just so. It's a don't-care. The end.
Though it's not clear to me now:
- why was this patched then?
- is the point about root that non-root wouldn't have access to passwd anyway?
If you're root inside the sandbox, you're root outside it. This exploit requires you to already be root.
So, yes, you need to have root on the box to set up this exploit.
I guess you just don't understand what unveil does.
Please be sure to let us know when your better, more secure replacement is ready.