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.
References
Link | Resource |
---|---|
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/ | Exploit Third Party Advisory |
http://www.securityfocus.com/bid/107089 | Third Party Advisory VDB Entry |
https://www.exploit-db.com/exploits/46511/ | Exploit Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html | Exploit Third Party Advisory VDB Entry |
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce | Exploit Third Party Advisory |
https://www.exploit-db.com/exploits/46662/ | Exploit Mailing List Third Party Advisory VDB Entry |
http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
Configurations
Information
Published : 2019-02-19 19:29
Updated : 2021-02-23 08:21
NVD link : CVE-2019-8943
Mitre link : CVE-2019-8943
JSON object : View
CWE
CWE-22
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Products Affected
wordpress
- wordpress