Input validation error in PHP - CVE-2012-0788
Published: February 14, 2012 / Updated: August 11, 2020
Vulnerability details
The vulnerability allows a remote non-authenticated attacker to perform service disruption.
The PDORow implementation in PHP before 5.3.9 does not properly interact with the session feature, which allows remote attackers to cause a denial of service (application crash) via a crafted application that uses a PDO driver for a fetch and then calls the session_start function, as demonstrated by a crash of the Apache HTTP Server.
Affected software
Gentoo Linux
Ubuntu
php5-cgi (Ubuntu package)
php5-cli (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
php5-common (Ubuntu package)
php5 (Ubuntu package)
php5-xsl (Ubuntu package)
How to mitigate CVE-2012-0788
php5-cli (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.22, 5.3.2-1ubuntu4.13, 5.3.3-1ubuntu9.9, 5.3.5-1ubuntu7.6, 5.3.6-13ubuntu3.5
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.22, 5.3.2-1ubuntu4.13, 5.3.3-1ubuntu9.9, 5.3.5-1ubuntu7.6, 5.3.6-13ubuntu3.5
php5-common (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.22, 5.3.2-1ubuntu4.13, 5.3.3-1ubuntu9.9, 5.3.5-1ubuntu7.6, 5.3.6-13ubuntu3.5
php5 (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.22, 5.3.2-1ubuntu4.13, 5.3.3-1ubuntu9.9, 5.3.5-1ubuntu7.6, 5.3.6-13ubuntu3.5
php5-xsl (Ubuntu package) - addressed in versions 5.2.4-2ubuntu5.22, 5.3.2-1ubuntu4.13, 5.3.3-1ubuntu9.9, 5.3.5-1ubuntu7.6, 5.3.6-13ubuntu3.5
Links to Public Exploits and PoC-codes
External References
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00013.html
- http://lists.opensuse.org/opensuse-security-announce/2012-03/msg00016.html
- http://secunia.com/advisories/48668
- http://www.php.net/ChangeLog-5.php#5.3.9
- https://bugs.php.net/bug.php?id=55776
- https://bugzilla.redhat.com/show_bug.cgi?id=783605