First published: Wed Apr 30 2014(Updated: )
It was reported that, on some distributions, PHP FPM (a FastCGI Process Manager for PHP) used a UNIX socket with insecure, default permissions. This would allow local users to execute PHP scripts with the privileges of the "apache" user. This is a similar situation to using mod_php where users can place scripts in their "~/public_html/" directory. Original report: <a href="http://www.openwall.com/lists/oss-security/2014/04/29/5">http://www.openwall.com/lists/oss-security/2014/04/29/5</a> On Red Hat Enterprise Linux 6, when using the Apache HTTP Server with mod_php, the use of "~/public_html/" is disabled by default; however, the default FPM configuration is more open, allowing users to talk directly to FPM and have their PHP scripts executed. (Note that there is currently no fastcgi module for the Apache HTTP Server in Red Hat Enterprise Linux 6, or for any other web server.) Acknowledgements: Red Hat would like to thank Christian Hoffmann for reporting this issue.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/php | <5.4.28 | 5.4.28 |
redhat/php | <5.5.12 | 5.5.12 |
PHP PHP | >=5.3.0<5.3.28 | |
PHP PHP | >=5.4.0<5.4.28 | |
PHP PHP | >=5.5.0<5.5.12 |
https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.