7.2
CWE
269
Advisory Published
CVE Published
Updated

CVE-2014-0185

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 SoftwareAffected VersionHow to fix
redhat/php<5.4.28
5.4.28
redhat/php<5.5.12
5.5.12
PHP>=5.3.0<5.3.28
PHP>=5.4.0<5.4.28
PHP>=5.5.0<5.5.12
>=5.3.0<5.3.28
>=5.4.0<5.4.28
>=5.5.0<5.5.12

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2014-0185?

    The severity of CVE-2014-0185 is classified as a high risk due to the potential for local users to execute scripts with elevated privileges.

  • How do I fix CVE-2014-0185?

    To fix CVE-2014-0185, ensure that the permissions for the UNIX socket used by PHP FPM are set securely.

  • Which PHP versions are affected by CVE-2014-0185?

    CVE-2014-0185 affects PHP versions between 5.3.0 and 5.5.12.

  • Can CVE-2014-0185 be exploited remotely?

    CVE-2014-0185 is a local vulnerability and cannot be exploited remotely.

  • What types of distributions are impacted by CVE-2014-0185?

    CVE-2014-0185 impacts various Linux distributions that use insecure default permissions for the PHP FPM UNIX socket.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203