USN-485-1: PHP vulnerabilities

Ubuntu Security Notice USN-485-1

17th July, 2007

php5 vulnerabilities

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 7.04
  • Ubuntu 6.10
  • Ubuntu 6.06 LTS


It was discovered that the PHP xmlrpc extension did not correctly check
heap memory allocation sizes. A remote attacker could send a specially
crafted request to a PHP application using xmlrpc and execute arbitrary
code as the Apache user. (CVE-2007-1864)

Stefan Esser discovered a flaw in the random number initialization of the
PHP SOAP extension. This could lead to remote attackers being able to
predict certain elements of the authentication mechanism. (CVE-2007-2728)

Update instructions

The problem can be corrected by updating your system to the following package version:

Ubuntu 7.04:
php5-xmlrpc 5.2.1-0ubuntu1.4
libapache2-mod-php5 5.2.1-0ubuntu1.4
Ubuntu 6.10:
php5-xmlrpc 5.1.6-1ubuntu2.6
libapache2-mod-php5 5.1.6-1ubuntu2.6
Ubuntu 6.06 LTS:
php5-xmlrpc 5.1.2-1ubuntu3.9
libapache2-mod-php5 5.1.2-1ubuntu3.9

To update your system, please follow these instructions:

In general, a standard system upgrade is sufficient to effect the
necessary changes.


CVE-2007-1864, CVE-2007-2728