Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Wordpress | Wordpress | <= 5.0.3 |
Related Weaknesses (CWE)
References
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-UplExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-ExecutioExploitThird Party AdvisoryVDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploitThird Party Advisory
- http://www.securityfocus.com/bid/107089Third Party AdvisoryVDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ExploitThird Party Advisory
- https://www.exploit-db.com/exploits/46511/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46662/ExploitMailing ListThird Party Advisory
- http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-UplExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-ExecutioExploitThird Party AdvisoryVDB Entry
- http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rceExploitThird Party Advisory
- http://www.securityfocus.com/bid/107089Third Party AdvisoryVDB Entry
- https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ExploitThird Party Advisory
- https://www.exploit-db.com/exploits/46511/ExploitThird Party AdvisoryVDB Entry
- https://www.exploit-db.com/exploits/46662/ExploitMailing ListThird Party Advisory
FAQ
What is CVE-2019-8943?
CVE-2019-8943 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 i...
How severe is CVE-2019-8943?
CVE-2019-8943 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2019-8943?
Check the references section above for vendor advisories and patch information. Affected products include: Wordpress Wordpress.