USN-1937-1: PHP vulnerability

5 September 2013

php5 vulnerability

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

  • Ubuntu 13.04
  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 10.04 LTS

Summary

Fraudulent security certificates could allow sensitive information to be exposed when accessing the Internet.

Software Description

  • php5 - HTML-embedded scripting language interpreter

Details

It was discovered that PHP did not properly handle certificates with NULL characters in the Subject Alternative Name field. An attacker could exploit this to perform a man in the middle attack to view sensitive information or alter encrypted communications.

Update instructions

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

Ubuntu 13.04
libapache2-mod-php5 - 5.4.9-4ubuntu2.3
php5-cgi - 5.4.9-4ubuntu2.3
php5-cli - 5.4.9-4ubuntu2.3
Ubuntu 12.10
libapache2-mod-php5 - 5.4.6-1ubuntu1.4
php5-cgi - 5.4.6-1ubuntu1.4
php5-cli - 5.4.6-1ubuntu1.4
Ubuntu 12.04 LTS
libapache2-mod-php5 - 5.3.10-1ubuntu3.8
php5-cgi - 5.3.10-1ubuntu3.8
php5-cli - 5.3.10-1ubuntu3.8
Ubuntu 10.04 LTS
libapache2-mod-php5 - 5.3.2-1ubuntu4.21
libapache2-mod-php5filter - 5.3.2-1ubuntu4.21
php5-cgi - 5.3.2-1ubuntu4.21
php5-cli - 5.3.2-1ubuntu4.21

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

In general, a standard system update will make all the necessary changes.

References