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.
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
Link | Tags |
---|---|
http://secunia.com/advisories/59329 | third party advisory |
https://github.com/php/php-src/commit/35ceea928b12373a3b1e3eecdc32ed323223a40d | exploit third party advisory patch |
https://hoffmann-christian.info/files/php-fpm/0001-Fix-bug-67060-use-default-mode-of-660.patch | third party advisory patch |
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1307027 | third party advisory |
https://bugs.php.net/bug.php?id=67060 | vendor advisory |
http://secunia.com/advisories/59061 | third party advisory |
http://www.php.net/ChangeLog-5.php | vendor advisory |
http://www.php.net/archive/2014.php#id2014-05-01-1 | vendor advisory |
http://support.apple.com/kb/HT6443 | third party advisory |
http://www.openwall.com/lists/oss-security/2014/04/29/5 | third party advisory mailing list |
https://bugzilla.redhat.com/show_bug.cgi?id=1092815 | issue tracking third party advisory |
http://lists.opensuse.org/opensuse-updates/2015-10/msg00012.html | mailing list third party advisory vendor advisory |