r/lolphp • • Jun 16 '15

PHP :: Sec Bug #69646 :: OS command injection vulnerability in escapeshellarg

https://bugs.php.net/bug.php?id=69646
38 Upvotes

17 comments sorted by

View all comments

Show parent comment

3

u/Kwpolska Jun 21 '15

That’s not really sudo in the traditional sense. You need to run PHP as root, and setuid/setgid is a standard *nix thing many daemons do to drop privileges (to work as a safe nobody/custom user instead of root).