Description
Unrestricted file upload vulnerability in the wp_check_filetype function in wp-includes/functions.php in WordPress before 2.8.6, when a certain configuration of the mod_mime module in the Apache HTTP Server is enabled, allows remote authenticated users to execute arbitrary code by posting an attachment with a multiple-extension filename, and then accessing this attachment via a direct request to a wp-content/uploads/ pathname, as demonstrated by a .php.jpg filename.
Remediation
References
Related Vulnerabilities
WordPress Plugin ImportWP-Import any XML or CSV File into WordPress Security Bypass (1.1.5)
Magento Authorization Bypass Through User-Controlled Key Vulnerability (CVE-2019-7872)
IBM RTC Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2017-1570)
Moodle Server-Side Request Forgery (SSRF) Vulnerability (CVE-2023-35133)