Vulnerability Assessment & Network Security Forums



If through a vulnerability assessment, a network security issue is detected for the vulnerability below, applying the appropriate security patches in a timely matter is very important.  If you have detected that your system has already been compromised, following CERT's Network Security recovery document will assist with recommended steps for system recovery.


Home >> Browse Vulnerability Assessment Database >> Gentoo Local Security Checks >> [GLSA-200407-13] PHP: Multiple security vulnerabilities


Vulnerability Assessment Details

[GLSA-200407-13] PHP: Multiple security vulnerabilities

Vulnerability Assessment Summary
PHP: Multiple security vulnerabilities

Detailed Explanation for this Vulnerability Assessment
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 permit tags containing \0 characters (CVE-2004-0595). When
memory_limit is used, PHP might unsafely interrupt other functions
(CVE-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
protection.

Impact

Successfully exploited, the memory_limit problem could permit 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
restrictions.

Workaround

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

References:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0594
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0595
http://security.e-matters.de/advisories/112004.html
http://security.e-matters.de/advisories/122004.html


Solution:
All PHP, mod_php and php-cgi users should upgrade to the latest stable
version:
# 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"


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: (C) 2005 Michel Arboi

Cables, Connectors


Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200 picture

Mini External OLED AMIGA Gotek Floppy Drive Emulator For Amiga 500/500+/600/1200

$37.27



Brand New Amiga 4000T Keyboard picture

Brand New Amiga 4000T Keyboard

$299.99



Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek picture

Amiga 500 Gotek Custom Mount USB Floppy Emulator - Complete Kit with Gotek

$65.00



Amiga MiniMig 2.0 - FPGA Amiga 500 with real 68000CPU picture

Amiga MiniMig 2.0 - FPGA Amiga 500 with real 68000CPU

$179.99



2 VTG Amiga Gold Fish Vol 2 & 3 CD-ROM picture

2 VTG Amiga Gold Fish Vol 2 & 3 CD-ROM

$27.20



Commodore Amiga CD32  Power Supply 100v-240v  NEW picture

Commodore Amiga CD32 Power Supply 100v-240v NEW

$38.00



Commodore Amiga 500 with Original Box.   Power Supply Games and More  1 MEG No.2 picture

Commodore Amiga 500 with Original Box. Power Supply Games and More 1 MEG No.2

$462.36



Apollo Vampire 600v2 / 600 V2 FPGA Accelerator Card for Commodore Amiga 600 picture

Apollo Vampire 600v2 / 600 V2 FPGA Accelerator Card for Commodore Amiga 600

$350.00



AMIGA 500 COMPUTER COMMODORE Complete in Box Powers/untested Good Condition picture

AMIGA 500 COMPUTER COMMODORE Complete in Box Powers/untested Good Condition

$370.00



Amiga 5.25 External DUAL SLIM Floppy Disk Drive VERY RARE picture

Amiga 5.25 External DUAL SLIM Floppy Disk Drive VERY RARE

$199.00



Discussions

No Discussions have been posted on this vulnerability.