漏洞描述
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.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
blog.ripstech.comhttps://blog.ripstech.com/2019/wordpress-image-remote-code-execution/↗packetstormsecurity.comhttp://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html↗packetstormsecurity.comhttp://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html↗tryhackme.comhttps://tryhackme.com/r/room/blog↗