SUSE SLES12 Security Update : php5 (SUSE-SU-2015:0365-1)

critical Nessus Plugin ID 119961

Language:

New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote SUSE host is missing one or more security updates.

Description

php5 was updated to fix four security issues.

These security issues were fixed :

- CVE-2015-0231: Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allowed remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate numerical keys within the serialized properties of an object. NOTE: this vulnerability exists because of an incomplete fix for CVE-2014-8142 (bnc#910659).

- CVE-2014-9427: sapi/cgi/cgi_main.c in the CGI component in PHP through 5.4.36, 5.5.x through 5.5.20, and 5.6.x through 5.6.4, when mmap is used to read a .php file, did not properly consider the mapping's length during processing of an invalid file that begins with a # character and lacks a newline character, which caused an out-of-bounds read and might (1) allow remote attackers to obtain sensitive information from php-cgi process memory by leveraging the ability to upload a .php file or (2) trigger unexpected code execution if a valid PHP script is present in memory locations adjacent to the mapping (bnc#911664).

- CVE-2015-0232: The exif_process_unicode function in ext/exif/exif.c in PHP before 5.4.37, 5.5.x before 5.5.21, and 5.6.x before 5.6.5 allowed remote attackers to execute arbitrary code or cause a denial of service (uninitialized pointer free and application crash) via crafted EXIF data in a JPEG image (bnc#914690).

- CVE-2014-8142: Use-after-free vulnerability in the process_nested_data function in ext/standard/var_unserializer.re in PHP before 5.4.36, 5.5.x before 5.5.20, and 5.6.x before 5.6.4 allowed remote attackers to execute arbitrary code via a crafted unserialize call that leverages improper handling of duplicate keys within the serialized properties of an object, a different vulnerability than CVE-2004-1019 (bnc#910659).

Additionally a fix was included that protects against a possible NULL pointer use (bnc#910659).

The update package also includes non-security fixes. See advisory for details.

Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

To install this SUSE Security Update use YaST online_update.
Alternatively you can run the command listed for your product :

SUSE Linux Enterprise Software Development Kit 12 :

zypper in -t patch SUSE-SLE-SDK-12-2015-94=1

SUSE Linux Enterprise Module for Web Scripting 12 :

zypper in -t patch SUSE-SLE-Module-Web-Scripting-12-2015-94=1

To bring your system up-to-date, use 'zypper patch'.

See Also

https://bugzilla.suse.com/show_bug.cgi?id=910659

https://bugzilla.suse.com/show_bug.cgi?id=914690

https://www.suse.com/security/cve/CVE-2014-8142/

https://www.suse.com/security/cve/CVE-2015-0231/

https://www.suse.com/security/cve/CVE-2015-0232/

https://bugzilla.suse.com/show_bug.cgi?id=907519

https://bugzilla.suse.com/show_bug.cgi?id=911664

https://www.suse.com/security/cve/CVE-2014-9427/

http://www.nessus.org/u?458c2003

Plugin Details

Severity: Critical

ID: 119961

File Name: suse_SU-2015-0365-1.nasl

Version: 1.6

Type: local

Agent: unix

Published: 1/2/2019

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: cpe:2.3:o:novell:suse_linux:12:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:apache2-mod_php5:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:apache2-mod_php5-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-bcmath-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-bz2:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-bz2-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-calendar:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-calendar-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ctype:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ctype-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-curl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-curl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-dba-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-debugsource:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-dom:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-dom-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-enchant-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-exif:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-exif-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fastcgi:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fastcgi-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fileinfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fileinfo-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-fpm-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ftp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ftp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gd-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gettext:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gettext-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gmp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-gmp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-iconv:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-iconv-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-intl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-json:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-json-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-ldap-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mbstring-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mcrypt:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mcrypt-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mysql:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-mysql-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-odbc-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-openssl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-openssl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pcntl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pcntl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pdo-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pgsql-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pspell:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-pspell-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-shmop:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-shmop-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-snmp-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-soap-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sockets:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sockets-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sqlite:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sqlite-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-suhosin:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-suhosin-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvmsg:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvmsg-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvsem:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvsem-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvshm:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-sysvshm-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-tokenizer:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-tokenizer-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-wddx:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-wddx-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlreader:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlreader-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlrpc-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlwriter:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xmlwriter-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xsl:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-xsl-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-zip:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-zip-debuginfo:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-zlib:*:*:*:*:*:*:*, p-cpe:2.3:a:novell:suse_linux:php5-zlib-debuginfo:*:*:*:*:*:*:*

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/12/2015

Vulnerability Publication Date: 1/10/2005

Reference Information

CVE: CVE-2004-1019, CVE-2014-8142, CVE-2015-0231, CVE-2015-0232, CVE-2014-9427

BID: 71791, 72539, 72541, 71833

CWE: 20