CVE-2019-8943 json
WordPress through 5.0.3 allows Path Traversal in wp_crop_image().
published 7y ago modified 4mo ago also EUVD-2019-18330
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 92.0%
- EPSS 92.0% chance of exploitation in 30 days, percentile 99.8%
- public exploits
- 3
- Metasploit and Exploit-DB, plus a Nuclei check
Summary
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.
Patch / fix
- wordpress Arch Linux 5.1-1
arch linux advisories AVG-909
Is CVE-2019-8943 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-8943 updated cvss 5.3
wordpress: path traversal in wp_crop_image()
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/multi/http/wp_crop_rce)
- Published
Exploit prediction
91.99% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- Metasploit exploit/multi/http/wp_crop_rce WordPress Crop-image Shell Upload metasploit exploit, excellent rank, 2019-02-19
- EDB-46662 WordPress Core 5.0.0 - Crop-image Shell Upload (Metasploit) remote, 2019-04-05
- EDB-46511 WordPress Core 5.0 - Remote Code Execution webapps, 2019-03-01
- Nuclei template WordPress Core 5.0.0 - Crop-image Shell Upload nuclei detection template
- blog.ripstech.com https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html referenced PoC, tagged "exploit" by a source, unverified
- rapid7.com http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce referenced PoC, tagged "exploit" by a source, unverified
- packetstormsecurity.com http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
- Technology feeds
References
-
exploit-db.com
/exploits/46511/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/46662/
exploit, mailing-list, third-party-advisory, vdb-entry
-
blog.ripstech.com
/2019/wordpress-image-remote-code-execution/
exploit, third-party-advisory
-
packetstormsecurity.com
/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
exploit, third-party-advisory, vdb-entry
-
rapid7.com
/db/modules/exploit/multi/http/wp_crop_rce
exploit, third-party-advisory
-
packetstormsecurity.com
/files/161213/WordPress-5.0.0-Remote-Code-Execution.html
exploit, third-party-advisory, vdb-entry
-
securityfocus.com
/bid/107089
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2019-8943
- NVD CVE-2019-8943
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.