Rapid7 Vulnerability & Exploit Database

Wordpress: CVE-2018-14028: Unrestricted Upload of File with Dangerous Type

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Wordpress: CVE-2018-14028: Unrestricted Upload of File with Dangerous Type

Severity
7
CVSS
(AV:N/AC:L/Au:S/C:P/I:P/A:P)
Published
08/10/2018
Created
03/19/2019
Added
10/16/2018
Modified
11/12/2019

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.

Solution(s)

  • misc-no-solution-exists

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;