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.
EPSS 2.29% · 85.0th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ubuntu:25.10 | wordpress | 0, * |
| Ubuntu:22.04:LTS | wordpress | 5.7.1+dfsg1-2ubuntu1, 5.8.2+dfsg1-1ubuntu1, 5.8.1+dfsg1-2ubuntu1 |
| Ubuntu:16.04:LTS | wordpress | 4.4+dfsg-1, 4.4.2+dfsg-1ubuntu1, * |
| Ubuntu:20.04:LTS | wordpress | 0, 5.2.2+dfsg1-1, 5.2.4+dfsg1-1 |
| Ubuntu:24.04:LTS | wordpress | 0, 6.2+dfsg1-1ubuntu1, 6.4.3+dfsg1-1ubuntu1 |
| Ubuntu:18.04:LTS | wordpress | 4.9.2+dfsg-1, 4.9.1+dfsg-1, 4.8.3+dfsg-1 |
Exploit Intelligence
Timeline
- Aug 10, 2018 CVE Published
- Apr 14, 2021 EPSS Score
- Aug 24, 2021 EPSS Score
- Oct 26, 2021 EPSS Score
- Feb 28, 2022 EPSS Score
- Jul 3, 2022 EPSS Score
- Sep 5, 2022 EPSS Score
- Jan 8, 2023 EPSS Score
- Mar 11, 2023 EPSS Score
- May 13, 2023 EPSS Score
- Aug 4, 2023 EPSS Score
- Sep 15, 2023 EPSS Score
References
- https://ubuntu.com/security/CVE-2018-14028 third-party-advisory
- https://core.trac.wordpress.org/ticket/44710 third-party-advisory
- https://github.com/rastating/wordpress-exploit-framework/pull/52 third-party-advisory
- https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/ third-party-advisory
- https://www.cve.org/CVERecord?id=CVE-2018-14028 third-party-advisory