Rapid7 Vulnerability & Exploit Database

SUSE: CVE-2015-8994: SUSE Linux Security Advisory

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

SUSE: CVE-2015-8994: SUSE Linux Security Advisory

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
03/02/2017
Created
07/25/2018
Added
03/21/2017
Modified
02/04/2022

Description

An issue was discovered in PHP 5.x and 7.x, when the configuration uses apache2handler/mod_php or php-fpm with OpCache enabled. With 5.x after 5.6.28 or 7.x after 7.0.13, the issue is resolved in a non-default configuration with the opcache.validate_permission=1 setting. The vulnerability details are as follows. In PHP SAPIs where PHP interpreters share a common parent process, Zend OpCache creates a shared memory object owned by the common parent during initialization. Child PHP processes inherit the SHM descriptor, using it to cache and retrieve compiled script bytecode ("opcode" in PHP jargon). Cache keys vary depending on configuration, but filename is a central key component, and compiled opcode can generally be run if a script's filename is known or can be guessed. Many common shared-hosting configurations change EUID in child processes to enforce privilege separation among hosted users (for example using mod_ruid2 for the Apache HTTP Server, or php-fpm user settings). In these scenarios, the default Zend OpCache behavior defeats script file permissions by sharing a single SHM cache among all child PHP processes. PHP scripts often contain sensitive information: Think of CMS configurations where reading or running another user's script usually means gaining privileges to the CMS database.

Solution(s)

  • suse-upgrade-apache2-mod_php5
  • suse-upgrade-apache2-mod_php7
  • suse-upgrade-php5
  • suse-upgrade-php5-bcmath
  • suse-upgrade-php5-bz2
  • suse-upgrade-php5-calendar
  • suse-upgrade-php5-ctype
  • suse-upgrade-php5-curl
  • suse-upgrade-php5-dba
  • suse-upgrade-php5-devel
  • suse-upgrade-php5-dom
  • suse-upgrade-php5-enchant
  • suse-upgrade-php5-exif
  • suse-upgrade-php5-fastcgi
  • suse-upgrade-php5-fileinfo
  • suse-upgrade-php5-fpm
  • suse-upgrade-php5-ftp
  • suse-upgrade-php5-gd
  • suse-upgrade-php5-gettext
  • suse-upgrade-php5-gmp
  • suse-upgrade-php5-iconv
  • suse-upgrade-php5-imap
  • suse-upgrade-php5-intl
  • suse-upgrade-php5-json
  • suse-upgrade-php5-ldap
  • suse-upgrade-php5-mbstring
  • suse-upgrade-php5-mcrypt
  • suse-upgrade-php5-mysql
  • suse-upgrade-php5-odbc
  • suse-upgrade-php5-opcache
  • suse-upgrade-php5-openssl
  • suse-upgrade-php5-pcntl
  • suse-upgrade-php5-pdo
  • suse-upgrade-php5-pear
  • suse-upgrade-php5-pgsql
  • suse-upgrade-php5-phar
  • suse-upgrade-php5-posix
  • suse-upgrade-php5-pspell
  • suse-upgrade-php5-shmop
  • suse-upgrade-php5-snmp
  • suse-upgrade-php5-soap
  • suse-upgrade-php5-sockets
  • suse-upgrade-php5-sqlite
  • suse-upgrade-php5-suhosin
  • suse-upgrade-php5-sysvmsg
  • suse-upgrade-php5-sysvsem
  • suse-upgrade-php5-sysvshm
  • suse-upgrade-php5-tokenizer
  • suse-upgrade-php5-wddx
  • suse-upgrade-php5-xmlreader
  • suse-upgrade-php5-xmlrpc
  • suse-upgrade-php5-xmlwriter
  • suse-upgrade-php5-xsl
  • suse-upgrade-php5-zip
  • suse-upgrade-php5-zlib
  • suse-upgrade-php7
  • suse-upgrade-php7-bcmath
  • suse-upgrade-php7-bz2
  • suse-upgrade-php7-calendar
  • suse-upgrade-php7-ctype
  • suse-upgrade-php7-curl
  • suse-upgrade-php7-dba
  • suse-upgrade-php7-devel
  • suse-upgrade-php7-dom
  • suse-upgrade-php7-enchant
  • suse-upgrade-php7-exif
  • suse-upgrade-php7-fastcgi
  • suse-upgrade-php7-fileinfo
  • suse-upgrade-php7-fpm
  • suse-upgrade-php7-ftp
  • suse-upgrade-php7-gd
  • suse-upgrade-php7-gettext
  • suse-upgrade-php7-gmp
  • suse-upgrade-php7-iconv
  • suse-upgrade-php7-imap
  • suse-upgrade-php7-intl
  • suse-upgrade-php7-json
  • suse-upgrade-php7-ldap
  • suse-upgrade-php7-mbstring
  • suse-upgrade-php7-mcrypt
  • suse-upgrade-php7-mysql
  • suse-upgrade-php7-odbc
  • suse-upgrade-php7-opcache
  • suse-upgrade-php7-openssl
  • suse-upgrade-php7-pcntl
  • suse-upgrade-php7-pdo
  • suse-upgrade-php7-pear
  • suse-upgrade-php7-pear-archive_tar
  • suse-upgrade-php7-pgsql
  • suse-upgrade-php7-phar
  • suse-upgrade-php7-posix
  • suse-upgrade-php7-pspell
  • suse-upgrade-php7-shmop
  • suse-upgrade-php7-snmp
  • suse-upgrade-php7-soap
  • suse-upgrade-php7-sockets
  • suse-upgrade-php7-sqlite
  • suse-upgrade-php7-sysvmsg
  • suse-upgrade-php7-sysvsem
  • suse-upgrade-php7-sysvshm
  • suse-upgrade-php7-tokenizer
  • suse-upgrade-php7-wddx
  • suse-upgrade-php7-xmlreader
  • suse-upgrade-php7-xmlrpc
  • suse-upgrade-php7-xmlwriter
  • suse-upgrade-php7-xsl
  • suse-upgrade-php7-zip
  • suse-upgrade-php7-zlib

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;