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. NOTE: because this is mentioned in the documentation but not in the UI, it could be considered a "Product UI does not Warn User of Unsafe Actions" issue.
References
Link | Resource |
---|---|
http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
https://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/ | Exploit Third Party Advisory |
Configurations
History
No history.
Information
Published : 2020-10-16 14:15
Updated : 2024-02-28 18:08
NVD link : CVE-2020-15867
Mitre link : CVE-2020-15867
CVE.ORG link : CVE-2020-15867
JSON object : View
Products Affected
gogs
- gogs
CWE