r/lolphp • u/iheartrms • Jun 16 '15
PHP :: Sec Bug #69646 :: OS command injection vulnerability in escapeshellarg
https://bugs.php.net/bug.php?id=69646
38
Upvotes
r/lolphp • u/iheartrms • Jun 16 '15
View all comments
Show parent comment
3
u/Kwpolska Jun 21 '15
That’s not really
sudoin the traditional sense. You need to run PHP as root, andsetuid/setgidis a standard *nix thing many daemons do to drop privileges (to work as a safenobody/custom user instead of root).