Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-4017 EUVD-2009-3988GHSA-79rp-c2fh-g5j7

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 r…

Published Nov 24, 2009 · Updated Aug 7, 2024 · Assigned by redhat

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 php5 5.2.6.dfsg.1-1+lenny4 DSA-1940-1
Debian 4.0 php5 5.2.0+dfsg-8+etch16 DSA-1940-1
ReleasePackageFixed inAdvisory
RHEL 5 php +18 5.1.6-24.el5_4.5 RHSA-2010:0040
RHEL 4 php +13 4.3.9-3.29 RHSA-2010:0040
RHEL 3 php +6 4.3.2-54.ent RHSA-2010:0040

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References