Use-after-free in PHP - CVE-2010-2225
Published: June 24, 2010 / Updated: August 4, 2020
Vulnerability details
The vulnerability allows a remote attacker to compromise vulnerable system.
The vulnerability exists due to a use-after-free error when processing serialized data, related to the PHP unserialize function. A remote attackers can execute arbitrary code or obtain sensitive information.
Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.
Affected software
Gentoo Linux
Ubuntu
Slackware Linux
php (Alpine package)
php5-cgi (Ubuntu package)
php5-cli (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
dev-lang/php
php
How to mitigate CVE-2010-2225
php5-cgi (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.19, 5.2.4-2ubuntu5.12, 5.2.6.dfsg.1-3ubuntu4.6, 5.2.10.dfsg.1-2ubuntu6.5, 5.3.2-1ubuntu4.5
php5-cli (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.19, 5.2.4-2ubuntu5.12, 5.2.6.dfsg.1-3ubuntu4.6, 5.2.10.dfsg.1-2ubuntu6.5, 5.3.2-1ubuntu4.5
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.1.2-1ubuntu3.19, 5.2.4-2ubuntu5.12, 5.2.6.dfsg.1-3ubuntu4.6, 5.2.10.dfsg.1-2ubuntu6.5, 5.3.2-1ubuntu4.5
dev-lang/php - update to 5.3.8
php - update to 5.2.14
External References
- http://lists.apple.com/archives/security-announce/2010//Aug/msg00003.html
- http://lists.opensuse.org/opensuse-security-announce/2010-09/msg00006.html
- http://lists.opensuse.org/opensuse-security-announce/2010-10/msg00000.html
- http://marc.info/?l=bugtraq&m=133469208622507&w=2
- http://pastebin.com/mXGidCsd
- http://secunia.com/advisories/40860
- http://support.apple.com/kb/HT4312
- http://twitter.com/i0n1c/statuses/16373156076
- http://twitter.com/i0n1c/statuses/16447867829
- http://www.debian.org/security/2010/dsa-2089
- http://www.securityfocus.com/bid/40948
- https://bugzilla.redhat.com/show_bug.cgi?id=605641
- https://exchange.xforce.ibmcloud.com/vulnerabilities/59610