CVE-2014-0185
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 7.2 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Weakness
- CWE-269 · Improper privilege management
- Record status
- Modified
Affected
- PHP < 5.3.28
- PHP < 5.4.28
- PHP < 5.5.12
Attack profile CVSS 2.0 · 7.2
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:L/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2014-0185.md and follow it. Check whether this project is affected by CVE-2014-0185. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2014.php#id2014-05-01-1
- https://bugs.php.net/bug.php?id=67060
- 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
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2014.php#id2014-05-01-1
- https://bugs.php.net/bug.php?id=67060
- 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
References
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html
- http://secunia.com/advisories/59061
- http://secunia.com/advisories/59329
- http://support.apple.com/kb/HT6443
- http://www.openwall.com/lists/oss-security/2014/04/29/5
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2014.php#id2014-05-01-1
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027
- https://bugs.php.net/bug.php?id=67060
- https://bugzilla.redhat.com/show_bug.cgi?id=1092815
- 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
- http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html
- http://secunia.com/advisories/59061
- http://secunia.com/advisories/59329
- http://support.apple.com/kb/HT6443
- http://www.openwall.com/lists/oss-security/2014/04/29/5
- http://www.php.net/ChangeLog-5.php
- http://www.php.net/archive/2014.php#id2014-05-01-1
- https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027
- https://bugs.php.net/bug.php?id=67060
- https://bugzilla.redhat.com/show_bug.cgi?id=1092815
- 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