Submitted by KeesCook on Thu, 2006-11-02 12:07
Referenced CVEs:
CVE-2006-5465, CVE-2006-5706
Description:
===========================================================
Ubuntu Security Notice USN-375-1 November 02, 2006
php5 vulnerability
CVE-2006-5465, CVE-2006-5706
===========================================================
A security issue affects the following Ubuntu releases:
Ubuntu 5.10
Ubuntu 6.06 LTS
Ubuntu 6.10
This advisory also applies to the corresponding versions of
Kubuntu, Edubuntu, and Xubuntu.
The problem can be corrected by upgrading your system to the
following package versions:
Ubuntu 5.10:
libapache2-mod-php5 5.0.5-2ubuntu1.6
php5-cli 5.0.5-2ubuntu1.6
Ubuntu 6.06 LTS:
libapache2-mod-php5 5.1.2-1ubuntu3.4
php5-cli 5.1.2-1ubuntu3.4
Ubuntu 6.10:
libapache2-mod-php5 5.1.6-1ubuntu2.1
php5-cli 5.1.6-1ubuntu2.1
In general, a standard system upgrade is sufficient to effect the
necessary changes.
Details follow:
Stefan Esser discovered two buffer overflows in the htmlentities() and
htmlspecialchars() functions. By supplying specially crafted input to
PHP applications which process that input with these functions, a
remote attacker could potentially exploit this to execute arbitrary
code with the privileges of the application. (CVE-2006-5465)
This update also fixes bugs in the chdir() and tempnam() functions,
which did not perform proper open_basedir checks. This could allow
local scripts to bypass intended restrictions.


