漏洞描述
WordPress是WordPress基金会的一套使用PHP语言开发的博客平台。该平台支持在PHP和MySQL的服务器上架设个人博客网站。
WordPress 5.0.3及之前版本中的‘wp_crop_image()’函数存在路径遍历漏洞。远程攻击者可借助带有图像扩展名和‘../’序列的文件名利用该漏洞向任意目录写入图像。
解决建议
升级至官方安全版本
参考链接
http://packetstormsecurity.com/files/152396/WordPress-5.0.0-crop-image-Shell-Upload.html
http://packetstormsecurity.com/files/161213/WordPress-5.0.0-Remote-Code-Execution.html
http://www.rapid7.com/db/modules/exploit/multi/http/wp_crop_rce
http://www.securityfocus.com/bid/107089
https://blog.ripstech.com/2019/wordpress-image-remote-code-execution/
https://www.exploit-db.com/exploits/46511/
https://www.exploit-db.com/exploits/46662/