CVE-2018-14028
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.
Affected WordPress components
-
WordPress coreVersion 4.9.7
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- n/a n/a — Versions not specified
- wordpress wordpress — Version 4.9.7
References
- www.securityfocus.com http://www.securityfocus.com/bid/105060 Third Party Advisory, VDB Entry
- core.trac.wordpress.org https://core.trac.wordpress.org/ticket/44710 Third Party Advisory
- github.com https://github.com/rastating/wordpress-exploit-framework/pull/52 Third Party Advisory
- rastating.github.io https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/ Third Party Advisory
- nvd.nist.gov Official NVD record