[v2.5] php: gain privileges via a crafted FastCGI client (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 socket, which allows local users to gain privileges via a crafted FastCGI client.
•MLIST:[oss-security] 20140429 Fwd: [vs] php-fpm: privilege
escalation due to insecure default config (CVE-2014-0185)
•URL: http://www.openwall.com/lists/oss-security/2014/04/29/5
•MISC:
https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch
•CONFIRM: http://www.php.net/ChangeLog-5.php
•CONFIRM: http://www.php.net/archive/2014.php\#id2014-05-01-1
•CONFIRM: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027
•CONFIRM: https://bugs.php.net/bug.php?id=67060
•CONFIRM: https://bugzilla.redhat.com/show\_bug.cgi?id=1092815
•CONFIRM:
https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d
(from redmine: issue id 2937, created on 2014-05-23, closed on 2014-06-02)
- Relations:
- parent #2936 (closed)
- Changesets:
- Revision 5309e7d3 by Natanael Copa on 2014-05-28T15:56:58Z:
main/php: security upgrade to 5.5.12 (CVE-2014-0185)
fixes #2937
- Revision fb15cd23 by Natanael Copa on 2014-05-28T16:00:50Z:
main/php: security fix for CVE-2014-0185
fixes #2937