CentOS 4 / 5 : php (CESA-2007:0890)

high Nessus Plugin ID 26075

Synopsis

The remote CentOS host is missing one or more security updates.

Description

Updated PHP packages that fix several security issues are now available for Red Hat Enterprise Linux 4 and 5.

This update has been rated as having moderate security impact by the Red Hat Security Response Team.

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Web server.

Various integer overflow flaws were found in the PHP gd extension. A script that could be forced to resize images from an untrusted source could possibly allow a remote attacker to execute arbitrary code as the apache user. (CVE-2007-3996)

An integer overflow flaw was found in the PHP chunk_split function. If a remote attacker was able to pass arbitrary data to the third argument of chunk_split they could possibly execute arbitrary code as the apache user. Note that it is unusual for a PHP script to use the chunk_script function with a user-supplied third argument.
(CVE-2007-2872)

A previous security update introduced a bug into PHP session cookie handling. This could allow an attacker to stop a victim from viewing a vulnerable website if the victim has first visited a malicious web page under the control of the attacker, and that page can set a cookie for the vulnerable website. (CVE-2007-4670)

A flaw was found in the PHP money_format function. If a remote attacker was able to pass arbitrary data to the money_format function this could possibly result in an information leak or denial of service. Note that is is unusual for a PHP script to pass user-supplied data to the money_format function. (CVE-2007-4658)

A flaw was found in the PHP wordwrap function. If a remote attacker was able to pass arbitrary data to the wordwrap function this could possibly result in a denial of service. (CVE-2007-3998)

A bug was found in PHP session cookie handling. This could allow an attacker to create a cross-site cookie insertion attack if a victim follows an untrusted carefully-crafted URL. (CVE-2007-3799)

An infinite-loop flaw was discovered in the PHP gd extension. A script that could be forced to process PNG images from an untrusted source could allow a remote attacker to cause a denial of service.
(CVE-2007-2756)

Users of PHP should upgrade to these updated packages, which contain backported patches to correct these issues.

Solution

Update the affected php packages.

See Also

http://www.nessus.org/u?39f38976

http://www.nessus.org/u?7fffc003

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

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

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

Plugin Details

Severity: High

ID: 26075

File Name: centos_RHSA-2007-0890.nasl

Version: 1.21

Type: local

Agent: unix

Published: 9/24/2007

Updated: 1/4/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Vulnerability Information

CPE: p-cpe:/a:centos:centos:php-ldap, p-cpe:/a:centos:centos:php-bcmath, p-cpe:/a:centos:centos:php-pear, p-cpe:/a:centos:centos:php-soap, cpe:/o:centos:centos:4, p-cpe:/a:centos:centos:php-xmlrpc, cpe:/o:centos:centos:5, p-cpe:/a:centos:centos:php-dba, p-cpe:/a:centos:centos:php-gd, p-cpe:/a:centos:centos:php-xml, p-cpe:/a:centos:centos:php-imap, p-cpe:/a:centos:centos:php-devel, p-cpe:/a:centos:centos:php-pgsql, p-cpe:/a:centos:centos:php-snmp, p-cpe:/a:centos:centos:php-ncurses, p-cpe:/a:centos:centos:php-mbstring, p-cpe:/a:centos:centos:php-mysql, p-cpe:/a:centos:centos:php, p-cpe:/a:centos:centos:php-odbc, p-cpe:/a:centos:centos:php-pdo, p-cpe:/a:centos:centos:php-cli, p-cpe:/a:centos:centos:php-domxml, p-cpe:/a:centos:centos:php-common

Required KB Items: Host/local_checks_enabled, Host/CentOS/release, Host/CentOS/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/20/2007

Vulnerability Publication Date: 5/18/2007

Reference Information

CVE: CVE-2007-2756, CVE-2007-2872, CVE-2007-3799, CVE-2007-3996, CVE-2007-3998, CVE-2007-4658, CVE-2007-4670

BID: 24089, 24261, 24268, 25498

CWE: 189, 20

RHSA: 2007:0890