CVE-2020-15867
Gogs Remote Code Execution (RCE)
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.
INFO
Published Date :
Oct. 16, 2020, 2:15 p.m.
Last Modified :
Nov. 21, 2024, 5:06 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
1.2
Public PoC/Exploit Available at Github
CVE-2020-15867 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2020-15867
.
URL | 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 |
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 |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2020-15867
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2020-15867
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html Added Reference 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/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Modified Analysis by [email protected]
Apr. 26, 2022
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html Exploit, Third Party Advisory, VDB Entry -
CWE Remap by [email protected]
Jul. 21, 2021
Action Type Old Value New Value Changed CWE CWE-78 NVD-CWE-noinfo -
CVE Modified by [email protected]
Apr. 08, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162123/Gogs-Git-Hooks-Remote-Code-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 09, 2020
Action Type Old Value New Value Changed Description The git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution. 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. -
Initial Analysis by [email protected]
Oct. 19, 2020
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H Changed Reference Type 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/ No Types Assigned 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 Added CWE NIST CWE-78 Added CPE Configuration OR *cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:* versions from (including) 0.5.5 up to (including) 0.12.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2020-15867
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2020-15867
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
96.37 }} -0.28%
score
0.99701
percentile