{"id":"CVE-2018-14028","state":"PUBLISHED","title":"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 extra","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.","publishedAt":"2018-08-10T16:00:00.000Z","updatedAt":"2024-08-05T09:21:40.680Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://core.trac.wordpress.org/ticket/44710","https://github.com/rastating/wordpress-exploit-framework/pull/52","https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/","http://www.securityfocus.com/bid/105060"],"weaknesses":[],"ingestedAt":"2026-10-29T19:44:20.464Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2018/14xxx/CVE-2018-14028.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2018-14028","state":"PUBLISHED","datePublished":"2018-08-10T16:00:00.000Z","dateUpdated":"2024-08-05T09:21:40.680Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2018-07-12T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://core.trac.wordpress.org/ticket/44710","tags":["x_refsource_MISC"]},{"url":"https://github.com/rastating/wordpress-exploit-framework/pull/52","tags":["x_refsource_MISC"]},{"url":"https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/","tags":["x_refsource_MISC"]},{"url":"http://www.securityfocus.com/bid/105060","name":"105060","tags":["vdb-entry","x_refsource_BID"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-08-14T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2018-08-04T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2018-14028","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://core.trac.wordpress.org/ticket/44710","refsource":"MISC","url":"https://core.trac.wordpress.org/ticket/44710"},{"name":"https://github.com/rastating/wordpress-exploit-framework/pull/52","refsource":"MISC","url":"https://github.com/rastating/wordpress-exploit-framework/pull/52"},{"name":"https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/","refsource":"MISC","url":"https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/"},{"name":"105060","refsource":"BID","url":"http://www.securityfocus.com/bid/105060"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://core.trac.wordpress.org/ticket/44710","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/rastating/wordpress-exploit-framework/pull/52","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://www.securityfocus.com/bid/105060","name":"105060","tags":["vdb-entry","x_refsource_BID","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T09:21:40.680Z"}}]}}}