PHP zend_hash_init function denial of service

php-zendhashinit-dos (32709) The risk level is classified as MediumMedium Risk

Description:

PHP on 64-bit platforms is vulnerable to a denial of service, caused by an unspecified error in the zend_hash_init function. A remote attacker could exploit this vulnerability to unserialize crafted data and cause the application to enter into an infinite loop, resulting in a denial of service.

*CVSS:

Base Score: 3.5
  Access Vector: Remote
  Access Complexity: Low
  Authentication: Not Required
  Confidentiality Impact: None
  Integrity Impact: None
  Availability Impact: Partial
 
Temporal Score: 2.6
  Exploitability: Unproven
  Remediation Level: Official-Fix
  Report Confidence: Confirmed

Consequences:

Denial of Service

Remedy:

Refer to The PHP Group Web site for upgrade information. See References.

For Hewlett-Packard (PHP):
Refer to HPSBTU02232 SSRT071429 for patch, upgrade, or suggested workaround information. See References.

For Red Hat Linux:
Refer to RHSA-2007:0076-3, RHSA-2007:0081, RHSA-2007:0088, RHSA-2007:0089, or RHSA-2007:0082-5 for patch, upgrade, or suggested workaround information. See References.

For Debian GNU/Linux:
Refer to DSA-1264-1 for patch, upgrade, or suggested workaround information. See References.

For Ubuntu Linux:
Refer to USN-424-2 for patch, upgrade, or suggested workaround information. See References.

For Mandriva Linux (php):
Refer to MDKSA-2007:048 for patch, upgrade, or suggested workaround information. See References.

For Gentoo Linux (PHP):
Refer to GLSA 200703-21 for patch, upgrade, or suggested workaround information. See References.

For Turbolinux (php):
Refer to TLSA-2007-20 for patch, upgrade, or suggested workaround information. See References.

For other distributions:
Contact your vendor for upgrade or patch information.

References:

  • HP Security Bulletin HPSBTU02232 SSRT071429: Secure Web Server for HP Tru64 UNIX Powered by Apache (SWS) or HP Internet Express for Tru64 UNIX running PHP, Remote Arbitrary Code Execution, Unauthorized Disclosure of Information, or Denial of Service (DoS).
  • MOPB-05-2007: PHP unserialize() 64 bit Array Creation Denial of Service Vulnerability.
  • The PHP Group Web site: PHP 5.2.1 Release Announcement.
  • ASA-2007-101: php security update (RHSA-2007-0076)
  • ASA-2007-136: php security update (RHSA-2007-081 RHSA-2007-0088)
  • CVE-2007-0988: The zend_hash_init function in PHP 5 before 5.2.1 and PHP 4 before 4.4.5, when running on a 64-bit platform, allows context-dependent attackers to cause a denial of service (infinite loop) by unserializing certain integer expressions, which only cause 32-bit arguments to be used after the check for a negative value, as demonstrated by an a:2147483649:{ argument.
  • DSA-1264: php4 -- several vulnerabilities
  • GLSA-200703-21: PHP: Multiple vulnerabilities
  • MDKSA-2007:048: Updated php packages fix multiple vulnerabilities
  • OpenPKG-SA-2007.010: php
  • OSVDB ID: 32762: PHP on 64-bit zend_hash_init Function Remote DoS
  • RHSA-2007-0076: Important: php security update
  • RHSA-2007-0081: Important: php security update
  • RHSA-2007-0082: Important: php security update
  • RHSA-2007-0088: Important: php security update
  • RHSA-2007-0089: Important: php security update for Stronghold
  • SA24432: Avaya Products PHP Multiple Vulnerabilities
  • SA24642: Avaya Products php Multiple Vulnerabilities
  • SA25423: HP System Management Homepage PHP Multiple Vulnerabilities
  • SA25850: HP Secure Web Server/Internet Express for Tru64 UNIX PHP Vulnerabilities
  • SECTRACK ID: 1017671: PHP Buffer Overflows and Format String Bugs Permit Code Execution and Denial of Service
  • SUSE-SA:2007:032: PHP security problems

Platforms Affected:

  • Canonical Ubuntu 5.10
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 6.10
  • Debian Debian Linux 3.1
  • Gentoo Linux
  • HP Internet Express 6.6
  • HP Secure Web Server for Tru64 6.6.4
  • MandrakeSoft Mandrake Linux 2006 X86_64
  • MandrakeSoft Mandrake Linux 2006
  • MandrakeSoft Mandrake Linux 2007
  • MandrakeSoft Mandrake Linux 2007 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
  • MandrakeSoft Mandrake Linux Corporate Server 3.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0
  • MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
  • MandrakeSoft Mandrake Multi Network Firewall 2.0
  • Novell Linux POS 9
  • Novell Open Enterprise Server
  • Novell Open Enterprise Server
  • Novell OpenSUSE 10.2
  • Novell SLE SDK 10
  • Novell UnitedLinux 1.0
  • OpenPKG OpenPKG 2-STABLE
  • OpenPKG OpenPKG CURRENT
  • OpenPKG OpenPKG Enterprise E1.0-SOLID
  • PHP PHP 5.0.0
  • PHP PHP 5.0.0 Beta4
  • PHP PHP 5.0.0 Beta1
  • PHP PHP 5.0.0 Beta2
  • PHP PHP 5.0.0 Beta3
  • PHP PHP 5.0.0 RC1
  • PHP PHP 5.0.0 RC3
  • PHP PHP 5.0.0 RC2
  • PHP PHP 5.0.1
  • PHP PHP 5.0.2
  • PHP PHP 5.0.3
  • PHP PHP 5.0.4
  • PHP PHP 5.0.5
  • PHP PHP 5.1.0
  • PHP PHP 5.1.1
  • PHP PHP 5.1.2
  • PHP PHP 5.1.3
  • PHP PHP 5.1.4
  • PHP PHP 5.1.5
  • PHP PHP 5.1.6
  • PHP PHP 5.2.0
  • RedHat Application Stack v1 for EL AS 4
  • RedHat Application Stack v1 for EL ES 4
  • RedHat Enterprise Linux 2.1 ES
  • RedHat Enterprise Linux 2.1 AS
  • RedHat Enterprise Linux 2.1 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux Desktop 5.0
  • RedHat Linux Advanced Workstation 2.1 Itanium
  • RedHat Stronghold
  • SuSE SuSE Linux Retail Solution 8
  • SuSE SuSE SLES 10
  • SuSE SuSE SLES 9
  • Turbolinux Turbolinux 10 Desktop
  • Turbolinux Turbolinux 10 F...
  • Turbolinux Turbolinux 10 Server
  • Turbolinux Turbolinux 10 Server x64 Ed
  • Turbolinux Turbolinux 8 Server
  • Turbolinux Turbolinux Home
  • Turbolinux Turbolinux Multimedia
  • Turbolinux Turbolinux Personal
  • Turbolinux Turbolinux Appliance Server 1.0 Hosting Ed
  • Turbolinux Turbolinux Appliance Server 1.0 Workgroup Ed
  • Turbolinux Turbolinux Appliance Server 2.0

Reported:

Feb 08, 2007

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.