漏洞描述
An unrestricted file upload issue in HorizontCMS through 1.0.0-beta allows an authenticated remote attacker (with access to the FileManager) to upload and execute arbitrary PHP code by uploading a PHP payload, and then using the FileManager's rename function to provide the payload (which will receive a random name on the server) with the PHP extension, and finally executing the PHP file via an HTTP GET request to /storage/<php_file_name>. NOTE: the vendor has patched this while leaving the version number at 1.0.0-beta.
影响产品
暂无结构化产品信息。
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
blog.vonahi.iohttps://blog.vonahi.io/whats-in-a-re-name/↗packetstormsecurity.comhttp://packetstormsecurity.com/files/160046/HorizontCMS-1.0.0-beta-Shell-Upload.html↗github.comhttps://github.com/rapid7/metasploit-framework/pull/14340↗github.comhttps://github.com/ttimot24/HorizontCMS/commit/436b5ab679fd27afa3d99c023dbe103113da4fee↗