漏洞描述
The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. There can be a privilege escalation if access to this hook feature is granted to a user who does not have administrative privileges.
影响产品
修复建议
建议关注厂商安全公告,及时升级至已修复版本,并结合实际资产暴露情况采取缓解措施。
参考链接
packetstormsecurity.comhttps://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html↗www.fzi.dehttps://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent/↗packetstormsecurity.comhttp://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html↗nvd.nist.govhttps://nvd.nist.gov/vuln/detail/CVE-2020-15867↗