PHP 5.4.x < 5.4.44 Multiple Vulnerabilities

High Nessus Plugin ID 85298

Synopsis

The remote web server uses a version of PHP that is affected by multiple vulnerabilities.

Description

According to its banner, the version of PHP running on the remote web server is 5.4.x prior to 5.4.44. It is, therefore, affected by multiple vulnerabilities:

- Multiple use-after-free vulnerabilities exist in the SPL component, due to improper handling of a specially crafted serialized object. An unauthenticated, remote attack can exploit this, via vectors involving ArrayObject, splObjectStorage and SplDoublyLinkedList to execute arbitrary code. (CVE-2015-6831)

- A use-after-free vulnerability exists in ext/spl/spl_array.c due to improper handling of a specially crafted serialized data. An unauthenticated, remote attacker can exploit this via specially crafted serialized data that triggers misuse of an array field to execute arbitrary code. (CVE-2015-6832)

- A directory traversal vulnerability exists in the PharData class, due to improper implementation of the exctractTo function. An unauthenticated, remote attacker can exploit this via a crafted ZIP archive entry to write to arbitrary files. (CVE-2015-6833)

- The openssl_random_pseudo_bytes() function in file openssl.c does not generate sufficiently random numbers.
An unauthenticated, remote attacker can exploit this to defeat cryptographic protection mechanisms.
(CVE-2015-8867)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to PHP version 5.4.44 or later.

See Also

http://www.nessus.org/u?24db51f6

Plugin Details

Severity: High

ID: 85298

File Name: php_5_4_44.nasl

Version: 1.10

Type: remote

Family: CGI abuses

Published: 2015/08/11

Updated: 2019/04/02

Dependencies: 48243

Risk Information

Risk Factor: High

CVSS Score Source: CVE-2015-6832

CVSS v2.0

Base Score: 7.5

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

CVSS v3.0

Base Score: 7.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Patch Publication Date: 2015/08/06

Vulnerability Publication Date: 2015/06/10

Reference Information

CVE: CVE-2015-6831, CVE-2015-6832, CVE-2015-6833, CVE-2015-8867

BID: 76737, 76739, 76735, 87481