CVE-2020-15867
The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 87.4%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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 3.1
- 7.2 HIGHCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 87.42% probability · 100th percentile
- CISA KEV
- Not listed
- Affected
- gogs/gogs
- Source
- cve@mitre.org
References
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.htmlExploit, 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
- http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.htmlExploit, 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.