PHP SplObjectStorage class unserialize() code execution

php-splobjectstorage-code-execution (59610) The risk level is classified as HighHigh Risk

Description:

PHP could allow a remote attacker to execute arbitrary code on the system, caused by an error in the SplObjectStorage class unserialize() function. An attacker could exploit this vulnerability to execute arbitrary code.

*CVSS:

Base Score: 7.5
  Access Vector: Network
  Access Complexity: Low
  Authentication: None
  Confidentiality Impact: Partial
  Integrity Impact: Partial
  Availability Impact: Partial
 
Temporal Score: 5.5
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Gain Access

Remedy:

Apply the patch for this vulnerability (Revision 300843), available from the PHP SVN repository. See References.

For other distributions:
Apply the appropriate update for your system. See References.

References:

  • Apple Web site: About Security Update 2010-005.
  • PHP SVN repository: fix SplObjectStorage unserialization (CVE-2010-2225).
  • PHP Web site: PHP: Hypertext Preprocessor.
  • Red Hat Bugzilla Bug 605641: CVE-2010-2225 PHP unsafe unserialize() use flaw.
  • BID-40948: PHP 'SplObjectStorage' Unserializer Arbitrary Code Execution Vulnerability
  • CVE-2010-2225: Use-after-free vulnerability in the SplObjectStorage unserializer in PHP 5.2.x and 5.3.x through 5.3.2 allows remote attackers to execute arbitrary code or obtain sensitive information via serialized data, related to the PHP unserialize function.
  • DSA-2089: php5 -- several vulnerabilities
  • MDVSA-2010:139: php
  • MDVSA-2010:140: php
  • OSVDB ID: 65755: PHP SplObjectStorage Unserializer Use-after-free Arbitrary Code Execution
  • SA40268: PHP spl_object_storage_attach() Use-After-Free Vulnerability
  • SUSE-SR:2010:017: (java-1_4_2-ibm, sudo, libpng, php5, tgt, iscsitarget, aria2, pcsc-lite, tomcat5, tomcat6, lvm2, libvirt, rpm, libtiff, dovecot12)
  • SUSE-SR:2010:018: SUSE Security Summary Report

Platforms Affected:

  • Apple Mac OS X 10.6.4
  • Apple Mac OS X Server 10.6.4
  • Debian Debian Linux 5.0
  • MandrakeSoft Mandrake Linux 2008.0
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • Mandriva Enterprise Server 5
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Linux 2009.0
  • Mandriva Linux 2009.0 X86_64
  • Mandriva Linux 2009.1
  • Mandriva Linux 2009.1 X86_64
  • Mandriva Linux 2010
  • Mandriva Linux 2010 X86_64
  • PHP PHP 5.2.0
  • PHP PHP 5.2.1
  • PHP PHP 5.2.10
  • PHP PHP 5.2.11
  • PHP PHP 5.2.12
  • PHP PHP 5.2.13
  • PHP PHP 5.2.2
  • PHP PHP 5.2.3
  • PHP PHP 5.2.4
  • PHP PHP 5.2.5
  • PHP PHP 5.2.6
  • PHP PHP 5.2.7
  • PHP PHP 5.2.8
  • PHP PHP 5.2.9
  • PHP PHP 5.3.0
  • PHP PHP 5.3.1
  • PHP PHP 5.3.2

Reported:

Jun 18, 2010

The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this

Return to the main page

* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

About IBM Security Systems

IBM Security Systems include an extensive portfolio of hardware, software solutions, professional and managed services offerings covering the spectrum of IT and business security risks: people and identity, data and information, application and process, network, server and endpoint and physical infrastructure, empowering clients to innovate and operate their businesses on the most secure infrastructure platforms. Through world-class solutions that address risk across the enterprise, IBM helps organizations build a strong security posture that helps reduce costs, improve service, and manage risk. IBM X-Force(R) Research and Development is one of the most renowned commercial security research and development groups in the world. For more information on how to address today's biggest risks, please visit us at ibm.com/security.