{"id":"UBUNTU-CVE-2018-14028","details":"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.","modified":"2026-05-20T16:03:24.475178016Z","published":"2018-08-10T16:29:00Z","upstream":["CVE-2018-14028"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-14028"},{"type":"REPORT","url":"https://core.trac.wordpress.org/ticket/44710"},{"type":"REPORT","url":"https://github.com/rastating/wordpress-exploit-framework/pull/52"},{"type":"REPORT","url":"https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-14028"}],"affected":[{"package":{"name":"wordpress","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3+dfsg-1","4.3.1+dfsg-1","4.4+dfsg-1","4.4.1+dfsg-1","4.4.2+dfsg-1","4.4.2+dfsg-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentyfifteen"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentyfourteen"},{"binary_version":"4.4.2+dfsg-1ubuntu1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.8.2+dfsg-2","4.8.3+dfsg-1","4.9.1+dfsg-1","4.9.2+dfsg-1","4.9.4+dfsg-1","4.9.5+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-l10n"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentyfifteen"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentyseventeen"},{"binary_version":"4.9.5+dfsg1-1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.2.2+dfsg1-1","5.2.4+dfsg1-1","5.3.2+dfsg1-1","5.3.2+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentynineteen"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentyseventeen"},{"binary_version":"5.3.2+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentysixteen"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7.1+dfsg1-2ubuntu1","5.8.1+dfsg1-2ubuntu1","5.8.2+dfsg1-1ubuntu1","5.8.3+dfsg1-1ubuntu1","5.8.3+dfsg1-1ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-l10n"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentynineteen"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentytwenty"},{"binary_version":"5.8.3+dfsg1-1ubuntu1.1","binary_name":"wordpress-theme-twentytwentyone"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.2+dfsg1-1ubuntu1","6.4.3+dfsg1-1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentyfour"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentythree"},{"binary_version":"6.4.3+dfsg1-1ubuntu1","binary_name":"wordpress-theme-twentytwentytwo"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.7.2+dfsg1-1.1ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_version":"6.7.2+dfsg1-1.1ubuntu1","binary_name":"wordpress"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu1","binary_name":"wordpress-l10n"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu1","binary_name":"wordpress-theme-twentytwentyfive"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu1","binary_name":"wordpress-theme-twentytwentyfour"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu1","binary_name":"wordpress-theme-twentytwentythree"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}},{"package":{"name":"wordpress","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/wordpress?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.7.2+dfsg1-1.1ubuntu1","6.7.2+dfsg1-1.1ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.7.2+dfsg1-1.1ubuntu2","binary_name":"wordpress"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu2","binary_name":"wordpress-l10n"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu2","binary_name":"wordpress-theme-twentytwentyfive"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu2","binary_name":"wordpress-theme-twentytwentyfour"},{"binary_version":"6.7.2+dfsg1-1.1ubuntu2","binary_name":"wordpress-theme-twentytwentythree"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-14028.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}