CVE-2019-8943
Last modified
CVE-2019-8943 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 91.98% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | <= 5.0.3 |
References
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploit, Third Party Advisory
- http://www.securityfocus.com/bid/107089Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/46511/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/46662/Exploit, Mailing List, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.htmlExploit, Third Party Advisory, VDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploit, Third Party Advisory
- http://www.securityfocus.com/bid/107089Third Party Advisory, VDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/Exploit, Third Party Advisory
- https://www.exploit-db.com/exploits/46511/Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/46662/Exploit, Mailing List, Third Party Advisory, VDB Entry
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2019-8943?
How severe is CVE-2019-8943?
How do I fix CVE-2019-8943?
Are you affected by CVE-2019-8943?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
