Description
In WordPress 4.9.7, plugins uploaded via the admin area are not verified as being ZIP files. This allows for PHP files to be uploaded. Once a PHP file is uploaded, the plugin extraction fails, but the PHP file remains in a predictable wp-content/uploads location, allowing for an attacker to then execute the file. This represents a security risk in limited scenarios where an attacker (who does have the required capabilities for plugin uploads) cannot simply place arbitrary PHP code into a valid plugin ZIP file and upload that plugin, because a machine's wp-content/plugins directory permissions were set up to block all new plugins.
Remediation
References
Related Vulnerabilities
WordPress Plugin URL Cloak & Encrypt Cross-Site Scripting (2.0)
WordPress Plugin WP-Live Chat by 3CX Multiple Vulnerabilities (4.3.5)
WordPress 4.1.x Multiple Vulnerabilities (4.1 - 4.1.14)
WordPress Plugin smart Archive Page Remove Unspecified Vulnerability (3)
WordPress Plugin jQuery Mega Menu Widget 'skin' Parameter Local File Include (1.0)