Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gogs | Gogs | >= 0.5.5, <= 0.12.2 |
References
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-ExecutionExploitThird Party AdvisoryVDB Entry
- https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-giExploitThird Party Advisory
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-ExecutionExploitThird Party AdvisoryVDB Entry
- https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-giExploitThird Party Advisory
FAQ
What is CVE-2020-15867?
CVE-2020-15867 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 h...
How severe is CVE-2020-15867?
CVE-2020-15867 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-15867?
Check the references section above for vendor advisories and patch information. Affected products include: Gogs Gogs.