Description Preview
Overview
This vulnerability in PHP before version 5.4.0 allows remote attackers to exploit the file-upload implementation, leading to denial of service or directory traversal attacks during multi-file uploads. The issue stems from the mishandling of invalid characters in name values, particularly open square brackets, which can be leveraged by attackers to disrupt the normal operation of the affected PHP application.
Remediation
To remediate this vulnerability, users are advised to update their PHP installation to version 5.4.0 or later, where the file-upload implementation has been improved to properly handle invalid characters in name values. Additionally, developers should ensure that their scripts enforce proper filename restrictions to mitigate the risk of exploitation through $_FILES indexes manipulation.
References
- HP Security Bulletin SSRT100856: http://marc.info/?l=bugtraq&m=134012830914727&w=2
- PHP Bug #54374: https://bugs.php.net/bug.php?id=54374
- Fedora Update FEDORA-2012-6869: http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080070.html
- SUSE-SU-2012:0604 Advisory: http://lists.opensuse.org/opensuse-security-announce/2012-05/msg00011.html
- PHP Bug #49683: https://bugs.php.net/bug.php?id=49683
- Directory Traversal via PHP Multi-File Uploads: https://nealpoole.com/blog/2011/10/directory-traversal-via-php-multi-file-uploads/
- Apple Security Advisory APPLE-SA-2012-09-19-2: http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html
- Debian Security Advisory DSA-2465: http://www.debian.org/security/2012/dsa-2465
- PHP ChangeLog for version 5.4.0: http://www.php.net/ChangeLog-5.php#5.4.0
- OSS Security Mailing List Discussion: http://openwall.com/lists/oss-security/2012/03/13/4
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- ManufacturingManufacturing
- Health Care & Social AssistanceHealth Care & Social Assistance
- Public AdministrationPublic Administration
- Transportation & WarehousingTransportation & Warehousing
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Other Services (except Public Administration)Other Services (except Public Administration)
- UtilitiesUtilities
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Retail TradeRetail Trade
- ConstructionConstruction
- InformationInformation
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Wholesale TradeWholesale Trade
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- MiningMining