CVE-2018-14028

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:wordpress:wordpress:4.9.7:*:*:*:*:*:*:*

History

21 Nov 2024, 03:48

Type Values Removed Values Added
References () http://www.securityfocus.com/bid/105060 - Third Party Advisory, VDB Entry () http://www.securityfocus.com/bid/105060 - Third Party Advisory, VDB Entry
References () https://core.trac.wordpress.org/ticket/44710 - Third Party Advisory () https://core.trac.wordpress.org/ticket/44710 - Third Party Advisory
References () https://github.com/rastating/wordpress-exploit-framework/pull/52 - Third Party Advisory () https://github.com/rastating/wordpress-exploit-framework/pull/52 - Third Party Advisory
References () https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/ - Third Party Advisory () https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/ - Third Party Advisory

Information

Published : 2018-08-10 16:29

Updated : 2024-11-21 03:48


NVD link : CVE-2018-14028

Mitre link : CVE-2018-14028

CVE.ORG link : CVE-2018-14028


JSON object : View

Products Affected

wordpress

  • wordpress
CWE
CWE-434

Unrestricted Upload of File with Dangerous Type