Name | CVE-2018-14028 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 906565 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
wordpress (PTS) | jessie, jessie (lts) | 4.1.35+dfsg-0+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 4.7.23+dfsg-0+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 5.0.21+dfsg1-0+deb10u1 | vulnerable |
| bullseye (security), bullseye | 5.7.11+dfsg1-0+deb11u1 | vulnerable |
| bookworm (security), bookworm | 6.1.6+dfsg1-0+deb12u1 | vulnerable |
| sid, trixie | 6.6.1+dfsg1-1 | vulnerable |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
wordpress | source | (unstable) | (unfixed) | | | 906565 |
Notes
[bookworm] - wordpress <postponed> (Minor issue, revisit when fixed upstream)
[bullseye] - wordpress <postponed> (Minor issue, revisit when fixed upstream)
[buster] - wordpress <postponed> (Minor issue, revisit when fixed upstream)
[stretch] - wordpress <postponed> (Minor issue, no sanctioned patch)
[jessie] - wordpress <postponed> (Minor issue, no sanctioned patch)
https://core.trac.wordpress.org/ticket/44710
https://rastating.github.io/unrestricted-file-upload-via-plugin-uploader-in-wordpress/