FreeBSD : php -- corruption of $GLOBALS and $this variables via extract() method (f3148a05-0fa7-11e0-becc-0022156e8794)

high Nessus Plugin ID 51508

Synopsis

The remote FreeBSD host is missing one or more security-related updates.

Description

Off-by-one error in the sanity validator for the extract() method allowed attackers to replace the values of $GLOBALS and $this when mode EXTR_OVERWRITE was used.

Solution

Update the affected packages.

See Also

https://www.mail-archive.com/[email protected]/msg47722.html

http://www.php.net/releases/5_2_15.php

http://www.nessus.org/u?2d7f411f

Plugin Details

Severity: High

ID: 51508

File Name: freebsd_pkg_f3148a050fa711e0becc0022156e8794.nasl

Version: 1.9

Type: local

Published: 1/13/2011

Updated: 1/6/2021

Supported Sensors: Nessus

Vulnerability Information

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

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

Patch Publication Date: 1/13/2011

Vulnerability Publication Date: 12/10/2010