GLSA-200407-13 : PHP: Multiple security vulnerabilities

This script is Copyright (C) 2004-2015 Tenable Network Security, Inc.

Synopsis :

The remote Gentoo host is missing one or more security-related

Description :

The remote host is affected by the vulnerability described in GLSA-200407-13
(PHP: Multiple security vulnerabilities)

Several security vulnerabilities were found and fixed in version 4.3.8 of
PHP. The strip_tags() function, used to sanitize user input, could in
certain cases allow tags containing \\0 characters (CAN-2004-0595). When
memory_limit is used, PHP might unsafely interrupt other functions
(CAN-2004-0594). The ftok and itpc functions were missing safe_mode checks.
It was possible to bypass open_basedir restrictions using MySQL's LOAD DATA
LOCAL function. Furthermore, the IMAP extension was incorrectly allocating
memory and alloca() calls were replaced with emalloc() for better stack

Impact :

Successfully exploited, the memory_limit problem could allow remote
excution of arbitrary code. By exploiting the strip_tags vulnerability, it
is possible to pass HTML code that would be considered as valid tags by the
Microsoft Internet Explorer and Safari browsers. Using ftok, itpc or
MySQL's LOAD DATA LOCAL, it is possible to bypass PHP configuration

Workaround :

There is no known workaround that would solve all these problems. All users
are encouraged to upgrade to the latest available versions.

See also :

Solution :

All PHP, mod_php and php-cgi users should upgrade to the latest stable
# emerge sync
# emerge -pv '>=dev-php/php-4.3.8'
# emerge '>=dev-php/php-4.3.8'
# emerge -pv '>=dev-php/mod_php-4.3.8'
# emerge '>=dev-php/mod_php-4.3.8'
# emerge -pv '>=dev-php/php-cgi-4.3.8'
# emerge '>=dev-php/php-cgi-4.3.8'

Risk factor :

Medium / CVSS Base Score : 6.8
Public Exploit Available : true

Family: Gentoo Local Security Checks

Nessus Plugin ID: 14546 (gentoo_GLSA-200407-13.nasl)

Bugtraq ID:

CVE ID: CVE-2004-0594

Ready to Scan Unlimited IPs & Run Compliance Checks?

Upgrade to Nessus Professional today!

Buy Now

Combine the Power of Nessus with the Ease of Cloud

Start your free Nessus Cloud trial now!

Begin Free Trial