PHP multipart/form-data POST request denial of service

php-multipart-formdata-dos (54455) The risk level is classified as MediumMedium Risk

Description:

PHP is vulnerable to a denial of service, caused by improper restrictions set on the number of temporary files created when handling multipart/form-data POST requests. A remote attacker could exploit this vulnerability to cause a denial of service.

*CVSS:

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

Consequences:

Denial of Service

Remedy:

Upgrade to the latest version of PHP (5.3.1 or later), available from the PHP Web site. See References.

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

References:

  • Apple Web site: About the security content of Security Update 2010-002 / Mac OS X v10.6.3.
  • F5 Web site: PHP vulnerability CVE-2009-4017.
  • Full-Disclosure Mailing List, Fri, 20 Nov 2009 14:03:36 +0200: PHP "multipart/form-data" denial of service.
  • HP Security Bulletin HPSBMA02568 SSRT100219: HP System Management Homepage (SMH) for Linux and Windows, Remote Cross Site Scripting (XSS), HTTP Response Splitting, and Other Vulnerabilities.
  • The PHP Group Web site: PHP 5.3.1 Release Announcement.
  • BID-43236: 3Com OfficeConnect Gigabit VPN Firewall (3CREVF100-73) Cross Site Scripting Vulnerability
  • BID-43269: HP System Management Homepage Unspecified HTTP Response Splitting Vulnerability
  • CVE-2009-4017: PHP before 5.2.12 and 5.3.x before 5.3.1 does not restrict the number of temporary files created when handling a multipart/form-data POST request, which allows remote attackers to cause a denial of service (resource exhaustion), and makes it easier for remote attackers to exploit local file inclusion vulnerabilities, via multiple requests, related to lack of support for the max_file_uploads directive.
  • GLSA-201001-03: PHP: Multiple vulnerabilities
  • MDVSA-2009:304: bind
  • MDVSA-2009:305: php
  • MDVSA-2009:324: php
  • OSVDB ID: 60451: PHP File Upload Crafted multipart/form-data Temporary File Exhaustion Remote DoS
  • RHSA-2010-0040: Moderate: php security update
  • SA37821: PHP Multiple Vulnerabilities
  • SA41480: HP System Management Homepage Multiple Vulnerabilities
  • SA41490: HP System Management Homepage Multiple Vulnerabilities
  • SA47523: F5 FirePass PHP File Upload Denial of Service Vulnerability
  • SUSE-SR:2010:005: SUSE Security Summary Report
  • USN-862-1: php5 vulnerabilities
  • VUPEN/ADV-2009-3593: PHP Security Update Fixes Security Bypass and DoS Vulnerabilities

Platforms Affected:

  • Apple Mac OS X 10.6
  • Apple Mac OS X 10.6.1
  • Apple Mac OS X 10.6.2
  • Apple Mac OS X Server 10.6
  • Apple Mac OS X Server 10.6.1
  • Apple Mac OS X Server 10.6.2
  • Canonical Ubuntu 6.06 LTS
  • Canonical Ubuntu 8.04 LTS
  • Canonical Ubuntu 8.10
  • F5 FirePass 6.0
  • F5 FirePass 6.1.0
  • F5 FirePass 7
  • Gentoo Linux
  • HP System Management Homepage 6.0
  • HP System Management Homepage 6.1
  • MandrakeSoft Mandrake Linux 2008.0 X86_64
  • MandrakeSoft Mandrake Linux 2008.0
  • 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
  • Mandriva Enterprise Server 5 X86_64
  • Mandriva Enterprise Server 5
  • Mandriva Linux 2009.0 X86_64
  • Mandriva Linux 2009.0
  • PHP PHP 5.2.0
  • PHP PHP 5.2.1
  • PHP PHP 5.2.10
  • PHP PHP 5.2.11
  • 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
  • RedHat Enterprise Linux 3 Desktop
  • RedHat Enterprise Linux 3 WS
  • RedHat Enterprise Linux 3 ES
  • RedHat Enterprise Linux 3 AS
  • RedHat Enterprise Linux 4 WS
  • RedHat Enterprise Linux 4 AS
  • RedHat Enterprise Linux 4 Desktop
  • RedHat Enterprise Linux 4 ES
  • RedHat Enterprise Linux 4.8.z ES
  • RedHat Enterprise Linux 4.8.z AS
  • RedHat Enterprise Linux 5
  • RedHat Enterprise Linux 5 Client Workstation
  • RedHat Enterprise Linux 5.4.z EUS

Reported:

Nov 20, 2009

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 Internet Security Systems

IBM Internet Security Systems is a trusted security advisor to thousands of the world's leading businesses and governments, helping to provide pre-emptive protection for networks, desktops and servers. The IBM Proventia? integrated security platform is designed to automatically protect against both known and unknown threats, helping to keep networks up and running and shield customers from online attacks before they impact business assets. IBM Internet Security Systems products and services are based on the proactive security intelligence of its X-Force? research and development team ? an unequivocal world authority in vulnerability and threat research. The IBM Internet Security Systems product line is also complemented by comprehensive Managed Security Services and Professional Security Services. For more information, visit the IBM Internet Security Systems Web site at www.iss.net or call 800-776-2362.