Debian DSA-2195-1 : php5 - several vulnerabilities

medium Nessus Plugin ID 52719

Synopsis

The remote Debian host is missing a security-related update.

Description

Stephane Chazelas discovered that the cronjob of the PHP 5 package in Debian suffers from a race condition which might be used to remove arbitrary files from a system (CVE-2011-0441 ).

When upgrading your php5-common package take special care to acceptthe changes to the /etc/cron.d/php5 file. Ignoring them would leave the system vulnerable.

Solution

Upgrade the php5 packages.

For the oldstable distribution (lenny), this problem has been fixed in version 5.2.6.dfsg.1-1+lenny10.

For the stable distribution (squeeze), this problem has been fixed in version 5.3.3-7+squeeze1.

Additionally, the following vulnerabilities have also been fixed in the oldstable distribution (lenny) :

- CVE-2010-3709 Maksymilian Arciemowicz discovered that the ZipArchive class may dereference a NULL pointer when extracting comments from a ZIP archive, leading to application crash and possible denial of service.

- CVE-2010-3710

Stefan Neufeind discovered that the FILTER_VALIDATE_EMAIL filter does not correctly handle long, to be validated, strings. Such crafted strings may lead to denial of service because of high memory consumption and application crash.

- CVE-2010-3870

It was discovered that PHP does not correctly handle certain UTF-8 sequences and may be used to bypass XSS protections.

- CVE-2010-4150

Mateusz Kocielski discovered that the IMAP extension may try to free already freed memory when processing user credentials, leading to application crash and possibly arbitrary code execution.

See Also

https://security-tracker.debian.org/tracker/CVE-2011-0441

https://security-tracker.debian.org/tracker/CVE-2010-3709

https://security-tracker.debian.org/tracker/CVE-2010-3710

https://security-tracker.debian.org/tracker/CVE-2010-3870

https://security-tracker.debian.org/tracker/CVE-2010-4150

https://packages.debian.org/source/squeeze/php5

https://www.debian.org/security/2011/dsa-2195

Plugin Details

Severity: Medium

ID: 52719

File Name: debian_DSA-2195.nasl

Version: 1.13

Type: local

Agent: unix

Published: 3/21/2011

Updated: 1/4/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:php5, cpe:/o:debian:debian_linux:6.0, cpe:/o:debian:debian_linux:5.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 3/19/2011

Reference Information

CVE: CVE-2010-3709, CVE-2010-3710, CVE-2010-3870, CVE-2010-4150, CVE-2011-0441

BID: 43926, 44605, 44718, 44980

DSA: 2195