CVE-2020-14144
HIGH NUCLEIGitea < 1.12.5 - OS Command Injection
Title source: ruleDescription
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer environments where the documentation was not understood (e.g., one viewpoint is that the dangerousness of this feature should be documented immediately above the ENABLE_GIT_HOOKS line in the config file). NOTE: The vendor has indicated this is not a vulnerability and states "This is a functionality of the software that is limited to a very limited subset of accounts. If you give someone the privilege to execute arbitrary code on your server, they can execute arbitrary code on your server. We provide very clear warnings to users around this functionality and what it provides.
Exploits (3)
nomisec
WORKING POC
30 stars
by p0dalirius · poc
https://github.com/p0dalirius/CVE-2020-14144-GiTea-git-hooks-rce
nomisec
WORKING POC
by Mohnad-AL-saif · poc
https://github.com/Mohnad-AL-saif/Gitea-Git-Hooks-RCE-CVE-2020-14144-
metasploit
WORKING POC
EXCELLENT
by Podalirius, Christophe De La Fuente · rubypocunix
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gitea_git_hooks_rce.rb
Nuclei Templates (1)
Gitea 1.1.0 - 1.12.5 - Remote Code Execution
HIGHVERIFIEDby theamanrawat
Shodan:
html:"Powered by Gitea Version" || http.html:"powered by gitea version" || http.title:"gitea" || cpe:"cpe:2.3:a:gitea:gitea"
FOFA:
body="powered by gitea version" || title="gitea"
References (8)
Scores
CVSS v3
7.2
EPSS
0.9353
EPSS Percentile
99.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-78
Status
published
Products (2)
code.gitea.io/gitea
1.1.0 - 1.12.6Go
gitea/gitea
1.1.0 - 1.12.5
Published
Oct 16, 2020
Tracked Since
Feb 18, 2026