CVE-2020-14144

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*

History

07 Nov 2023, 03:17

Type Values Removed Values Added
Summary ** DISPUTED ** 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." 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.
References
  • {'url': 'https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script', 'name': 'https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script', 'tags': ['Third Party Advisory'], 'refsource': 'MISC'}
  • () https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script -

30 Nov 2021, 18:36

Type Values Removed Values Added
References (MISC) https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script - (MISC) https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script - Third Party Advisory
References (MISC) https://github.com/PandatiX/CVE-2021-28378#notes - (MISC) https://github.com/PandatiX/CVE-2021-28378#notes - Exploit, Third Party Advisory
References (MISC) https://docs.gitlab.com/ee/administration/server_hooks.html - (MISC) https://docs.gitlab.com/ee/administration/server_hooks.html - Third Party Advisory
References (MISC) https://github.com/PandatiX/CVE-2021-28378 - (MISC) https://github.com/PandatiX/CVE-2021-28378 - Exploit, Third Party Advisory
References (MISC) http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html - (MISC) http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html - Exploit, Third Party Advisory, VDB Entry

17 Nov 2021, 22:17

Type Values Removed Values Added
References
  • (MISC) https://github.com/PandatiX/CVE-2021-28378#notes -

10 Nov 2021, 01:15

Type Values Removed Values Added
References
  • {'url': 'https://github.com/PandatiX/CVE-2021-28378#notes', 'name': 'https://github.com/PandatiX/CVE-2021-28378#notes', 'tags': [], 'refsource': 'MISC'}

04 Nov 2021, 02:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/PandatiX/CVE-2021-28378#notes -

24 Sep 2021, 22:15

Type Values Removed Values Added
References
  • (MISC) https://github.com/PandatiX/CVE-2021-28378 -

08 Apr 2021, 00:15

Type Values Removed Values Added
References
  • (MISC) http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html -

Information

Published : 2020-10-16 14:15

Updated : 2024-04-11 01:07


NVD link : CVE-2020-14144

Mitre link : CVE-2020-14144

CVE.ORG link : CVE-2020-14144


JSON object : View

Products Affected

gitea

  • gitea
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')