CVE-2019-8943
WordPress through 5.0.3 allows Path Traversal in wp_crop_image(). An attacker (who has privileges to crop an image) can write the output image to an arbitrary directory via a filename containing two image extensions and ../ sequences, such as a filename ending with the .jpg?/../../file.jpg substring.
What to do
Likely to be exploited: EPSS gives a 92% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | wordpress | Fix pending | UBUNTU-CVE-2019-8943 | |
| Ubuntu 26.04 | wordpress | Under investigation | UBUNTU-CVE-2019-8943 | |
| Ubuntu 25.10 | wordpress | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-8943 | |
| Ubuntu 24.04 | wordpress | Under investigation | UBUNTU-CVE-2019-8943 | |
| Ubuntu 22.04 | wordpress | Under investigation | UBUNTU-CVE-2019-8943 | |
| Ubuntu 20.04 | wordpress | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-8943 | |
| Ubuntu 18.04 | wordpress | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-8943 | |
| Ubuntu 16.04 | wordpress | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2019-8943 | |
| Ubuntu 14.04 | wordpress | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | wordpress | Fix pending | DEBIAN-CVE-2019-8943 | |
| Debian 13 | wordpress | Fix pending | DEBIAN-CVE-2019-8943 | |
| Debian 12 | wordpress | Fix pending | DEBIAN-CVE-2019-8943 |
References
- https://www.exploit-db.com/exploits/46511/
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
- http://www.securityfocus.com/bid/107089
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
- https://www.exploit-db.com/exploits/46662/
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.