漏洞描述
Gitea1.7.6之前的版本和1.8-RC3之前的1.8.x中的models/repo_mirror.go错误处理了镜像存储库URL设置,从而导致远程执行代码。
解决建议
厂商已发布漏洞修复程序,请及时关注更新:
https://github.com/go-gitea/gitea/releases/tag/v1.7.6;https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3
https://github.com/go-gitea/gitea/releases/tag/v1.7.6;https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3
参考链接
http://packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html
https://github.com/go-gitea/gitea/releases/tag/v1.7.6
https://github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3