CVE-2020-14144 The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execut…
설명
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.
Gitea 1.1.0에서 1.12.5까지의 git hook 기능은 문서가 이해되지 않은 고객 환경에서 인증된 원격 코드 실행을 허용할 수 있다(예를 들어, 한 가지 관점은 이 기능의 위험도가 설정 파일의 ENABLE_GIT_HOOKS 라인 바로 위에 문서화되어야 한다는 것이다). 참고: 공급업체는 이것이 취약점이 아니며 "이것은 매우 제한된 계정 하위 집합으로 제한되는 소프트웨어의 기능입니다. 만약 여러분이 누군가에게 여러분의 서버에서 임의의 코드를 실행할 수 있는 권한을 준다면, 그들은 여러분의 서버에서 임의의 코드를 실행할 수 있습니다. 우리는이 기능과 그것이 제공하는 것을 사용자에게 매우 명확한 경고를 제공합니다.
영향 받는 제품 제품 1개
-
NVD 기준
gitea
gitea
영향 받는 버전
- 1.1.0 이상 1.12.5 이하
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
Go · code.gitea.io/gitea
영향 받는 버전 · 해결 버전
- 영향 1.1.0 이상 1.12.6 미만 · 해결 1.12.6 이상
출처: GitHub Advisory Database · CC-BY 4.0
참고 자료 8건
- packetstormsecurity.com http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html (새 창)
- docs.github.com https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script (새 창)
- docs.gitlab.com https://docs.gitlab.com/ee/administration/server_hooks.html (새 창)
- github.com https://github.com/go-gitea/gitea/pull/13058 (새 창)
- github.com https://github.com/go-gitea/gitea/releases (새 창)
- github.com https://github.com/PandatiX/CVE-2021-28378 (새 창)
- github.com https://github.com/PandatiX/CVE-2021-28378#notes (새 창)
- fzi.de 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/ (새 창)