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.
http://www.openwall.com/lists/oss-security/2009/11/16/1
http://www.openwall.com/lists/oss-security/2009/11/15/3
https://euvd.enisa.europa.eu/vulnerability/EUVD-2009-3861
http://wordpress.org/development/2009/11/wordpress-2-8-6-security-release/
http://core.trac.wordpress.org/ticket/11122
http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0153.html
http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0149.html
http://archives.neohapsis.com/archives/fulldisclosure/2009-11/0142.html