PHP 5.5.x < 5.5.12 FPM Unix Socket Insecure Permission Escalation

high Nessus Plugin ID 73863

Synopsis

The remote web server uses a version of PHP that is potentially affected by a permission escalation vulnerability.

Description

According to its banner, the version of PHP 5.5.x installed on the remote host is a version prior to 5.5.12. It is, therefore, potentially affected by a permission escalation vulnerability.

A flaw exists within the FastCGI Process Manager (FPM) when setting permissions for a Unix socket. This could allow a remote attacker to gain elevated privileges after gaining access to the socket.

Note that this plugin has not attempted to exploit this issue, but instead relied only on PHP's self-reported version number.

Solution

Upgrade to PHP version 5.5.12 or later.

See Also

http://www.php.net/ChangeLog-5.php#5.5.12

https://bugs.php.net/bug.php?id=67060

http://www.nessus.org/u?a7b8dfdd

Plugin Details

Severity: High

ID: 73863

File Name: php_5_5_12.nasl

Version: 1.14

Type: remote

Family: CGI abuses

Published: 5/5/2014

Updated: 11/22/2024

Configuration: Enable thorough checks

Supported Sensors: Nessus

Enable CGI Scanning: true

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.2

Temporal Score: 5.3

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

CVSS Score Source: CVE-2014-0185

Vulnerability Information

CPE: cpe:/a:php:php

Required KB Items: www/PHP

Exploit Ease: No exploit is required

Patch Publication Date: 5/1/2014

Vulnerability Publication Date: 4/12/2014

Reference Information

CVE: CVE-2014-0185

BID: 67118