Hacker News new | ask | show | jobs
by mritzmann 39 days ago
Not if the security vulnerability does not also lead to root privileges.
1 comments

Not necessarily, you can run php without root, and if you grant it CAP_NET_BIND_SERVICE capability, you can even run it on port 80.

There's many other ways to go about it too without granting that capability (like port redirection, reverse proxy tunnel etc).

In fact I would say these days, no one should be running php or any web stack as root unless you've got very good reasons to do so.