Description
The file scanning mechanism of JFilterInput::isFileSafe() in Joomla! CMS before 3.6.5 does not consider alternative PHP file extensions when checking uploaded files for PHP content, which enables a user to upload and execute files with the `.php6`, `.php7`, `.phtml`, and `.phpt` extensions. Additionally, JHelperMedia::canUpload() did not blacklist these file extensions as uploadable file types.
Remediation
References
Related Vulnerabilities
WordPress Plugin Shopp Multiple Vulnerabilities (1.0.17)
WordPress Plugin WP Sitemap Page Cross-Site Scripting (1.6.4)
WordPress Plugin XforWooCommerce Security Bypass (1.6.4)
WordPress Plugin WooCommerce Export Orders and More Cross-Site Scripting (2.0.10)
Moodle Insufficient Verification of Data Authenticity Vulnerability (CVE-2020-1755)