CVE-2019-8943

Name
CVE-2019-8943
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
Third Party Advisory http://www.securityfocus.com/bid/107089
Exploit https://www.exploit-db.com/exploits/46511/
Exploit http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
Exploit http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
Exploit https://www.exploit-db.com/exploits/46662/
Exploit http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:wordpress:wordpress:*:*:*:*:*:*:*:* wordpress >= None <= 5.0.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status