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

NEW StarTech USB 2.0 Print Server 10/100 MBPs PM1115U for PC Mac Linux - NEW
$39.99
NEW StarTech USB 2.0 Print Server 10/100 MBPs PM1115U for PC Mac Linux - NEW pictureRaspberry PI Game Servers 11 in 1 Multi-Boot For The RaspberryPi 0/1/2/3
$9.5
Raspberry PI  Game Servers 11 in 1 Multi-Boot For The RaspberryPi 0/1/2/3 pictureLinux Security Red Hat Cert of Expertise in Server Hardening EX413 & LPIC-3 303
$6.99
Linux Security Red Hat Cert of Expertise in Server Hardening EX413 & LPIC-3 303  pictureCentOS 7 Linux Micro SD card for Raspberry Pi 3 Red Hat Embedded IoT Server
$13.95
CentOS 7 Linux Micro SD card for Raspberry Pi 3 Red Hat Embedded IoT Server  picture


Discussions

No Discussions have been posted on this vulnerability.