FreeBSD : php -- arbitrary remote code execution vulnerability (3fd040be-4f0b-11e1-9e32-0025900931f8)

high Nessus Plugin ID 57830
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 FreeBSD host is missing a security-related update.

Description

Secunia reports :

A vulnerability has been reported in PHP, which can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a logic error within the 'php_register_variable_ex()' function (php_variables.c) when hashing form posts and updating a hash table, which can be exploited to execute arbitrary code.

Solution

Update the affected package.

See Also

http://www.php.net/archive/2012.php#id2012-02-02-1

http://www.nessus.org/u?5dfa5ee2

Plugin Details

Severity: High

ID: 57830

File Name: freebsd_pkg_3fd040be4f0b11e19e320025900931f8.nasl

Version: 1.7

Type: local

Published: 2/6/2012

Updated: 1/6/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

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

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:php5, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 2/4/2012

Vulnerability Publication Date: 2/2/2012

Reference Information

CVE: CVE-2012-0830

Secunia: 47806