Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×
USN 1358-1 introduced a regression in PHP.
Software Description:
- php5: HTML-embedded scripting language interpreter
Details:
USN 1358-1 fixed multiple vulnerabilities in PHP. The fix for
CVE-2012-0831 introduced a regression where the state of the
magic_quotes_gpc setting was not correctly reflected when calling
the ini_get() function.
We apologize for the inconvenience.
Original advisory details:
It was discovered that PHP computed hash values for form parameters
without restricting the ability to trigger hash collisions predictably.
This could allow a remote attacker to cause a denial of service by
sending many crafted parameters. (CVE-2011-4885)
ATTENTION: this update changes previous PHP behavior by
limiting the number of external input variables to 1000.
This may be increased by adding a "max_input_vars"
directive to the php.ini configuration file. See
https://www.php.net/manual/en/info.configuration.php
for more information.
...
The problem can be corrected by updating your system to the following package versions: Ubuntu 11.10: libapache2-mod-php5 5.3.6-13ubuntu3.6 php5 5.3.6-13ubuntu3.6 php5-cgi 5.3.6-13ubuntu3.6 php5-cli 5.3.6-13ubuntu3.6 Ubuntu 11.04: libapache2-mod-php5 5.3.5-1ubuntu7.7 php5 5.3.5-1ubuntu7.7 php5-cgi 5.3.5-1ubuntu7.7 php5-cli 5.3.5-1ubuntu7.7 Ubuntu 10.10: libapache2-mod-php5 5.3.3-1ubuntu9.10 php5 5.3.3-1ubuntu9.10 php5-cgi 5.3.3-1ubuntu9.10 php5-cli 5.3.3-1ubuntu9.10 Ubuntu 10.04 LTS: libapache2-mod-php5 5.3.2-1ubuntu4.14 php5 5.3.2-1ubuntu4.14 php5-cgi 5.3.2-1ubuntu4.14 php5-cli 5.3.2-1ubuntu4.14 Ubuntu 8.04 LTS: libapache2-mod-php5 5.2.4-2ubuntu5.23 php5 5.2.4-2ubuntu5.23 php5-cgi 5.2.4-2ubuntu5.23 php5-cli 5.2.4-2ubuntu5.23 In general, a standard system update will make all the necessary changes.
https://ubuntu.com/security/notices/USN-1358-1
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/930115
Get the latest Linux and open source security news straight to your inbox.