News for hackers. Stuff that matters.
Re:/bin/false is not security (2005) by tscs37 on Friday December 29, 2017 @06:13AM (#16028868)
When the binary in question is setuid, it doesn't matter what user runs it. It'll run as the owner and group of the file itself.
Re:/bin/false is not security (2005) by geofft on Friday December 29, 2017 @11:19AM (#16030178)
The setuid binary was created (indirectly) by the Apache CustomLog directive, which is able to spawn programs to use as log targets. So it matters which user Apache runs as, because that controls which user creates the setuid binary and thereby which privileges you can gain.
Re:/bin/false is not security (2005) by tscs37 on Friday December 29, 2017 @11:28AM (#16030225)
Rereading the comment it also seems more like Apache is starting something that can become root somehow, I really don't think it is implied Apache is running as root.
Re:/bin/false is not security (2005) by geofft on Friday December 29, 2017 @01:10PM (#16030849)
Apache usually starts up as root so it can do setup that requires root, and then drops privileges to a user/group specified in Apache configuration. Most commonly the required setup is just binding to privileged ports, but one of the supported setup steps is opening log pipes. See the security note here:

http://httpd.apache.org/docs/current/mod/mod_log_config.html...