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 >> Ubuntu Local Security Checks >> USN99-1 : php4 vulnerabilities


Vulnerability Assessment Details

USN99-1 : php4 vulnerabilities

Vulnerability Assessment Summary
php4 vulnerabilities

Detailed Explanation for this Vulnerability Assessment

Summary :

These remote packages are missing security patches :
- libapache2-mod-php4
- php4
- php4-cgi
- php4-curl
- php4-dev
- php4-domxml
- php4-gd
- php4-ldap
- php4-mcal
- php4-mhash
- php4-mysql
- php4-odbc
- php4-pear
- php4-recode
- php4-snmp
- php4-sybase
- php4-xslt


Description :

Stefano Di Paola discovered integer overflows in PHP's pack() and
unpack() functions. A malicious PHP script could exploit these to
break out of safe mode and execute arbitrary code with the rights
of the PHP interpreter. (CVE-2004-1018)

Note: The second part of CVE-2004-1018 (buffer overflow in the
shmop_write() function) was already fixed in USN-66-1.

Stefan Esser discovered two safe mode bypasses which permited malicious
PHP scripts to circumvent path restrictions. This was possible by
either using virtual_popen() with a current directory containing shell
metacharacters (CVE-2004-1063) or creating a specially crafted
directory whose length exceeded the capacity of the realpath()
function (CVE-2004-1064).

Solution :

Upgrade to :
- libapache2-mod-php4-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-cgi-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-curl-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-dev-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-domxml-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-gd-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-ldap-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-mcal-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-mhash-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-mysql-4.3.8-3ubuntu7.5 (Ubuntu 4.10)
- php4-odbc-4.3.8-3
[...]


Network Security Threat Level: High


Networks Security ID:

Vulnerability Assessment Copyright: Ubuntu Security Notice (C) 2005 Canonical, Inc. / NASL script (C) 2005 Michel Arboi

Cables, Connectors

IBM Server System x3250 M3 Server Intel Xeon
$99.95
IBM Server System x3250 M3  Server Intel Xeon pictureHP DL380p G8 16-Core Server 2x E5-2670 2.6GHz 192GB-16 SFF 8 Bay with 2x1TB HD
$599.0
HP DL380p G8 16-Core Server 2x E5-2670 2.6GHz 192GB-16 SFF 8 Bay with 2x1TB HD pictureIntel Xeon Processor E5-2673 V3  25MB cache, 3.3 GHz, 8 core, 768GB, scalable 
$400.0
Intel Xeon Processor E5-2673 V3  25MB cache, 3.3 GHz, 8 core, 768GB, scalable  pictureHP DL360 G7 1U (12-Core) - 2x Xeon X5650@ 2.67GHz 8GB PC3 No HDD P410i 2.5"+
$181.39
HP DL360 G7 1U (12-Core) - 2x Xeon X5650@ 2.67GHz 8GB PC3 No HDD P410i 2.5


Discussions

No Discussions have been posted on this vulnerability.