{"vulnerability": "cve-2020-15867", "sightings": [{"uuid": "4091dae1-d482-4766-97d2-77b26b991263", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-06T03:13:44.000000Z"}, {"uuid": "2dcecf86-4066-451f-bb87-e5df377fe3d3", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "seen", "source": "MISP/a1e796df-2ad8-4c8d-8b69-737a004e72dd", "content": "", "creation_timestamp": "2025-02-23T04:10:25.000000Z"}, {"uuid": "5e57d52f-45f3-4743-938f-65c993c1ac12", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gogs_git_hooks_rce.rb", "content": "", "creation_timestamp": "2021-04-07T18:51:53.000000Z"}, {"uuid": "9db64f3c-c681-4a89-9af9-37f384f8d5e8", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "published-proof-of-concept", "source": "https://t.me/pwnwiki_zhchannel/129", "content": "CVE-2020-15867 Gogs Git Hooks \u9060\u7a0b\u4ee3\u78bc\u57f7\u884c\u6f0f\u6d1e\nhttps://www.pwnwiki.org/index.php?title=CVE-2020-15867_Gogs_Git_Hooks_%E9%81%A0%E7%A8%8B%E4%BB%A3%E7%A2%BC%E5%9F%B7%E8%A1%8C%E6%BC%8F%E6%B4%9E", "creation_timestamp": "2021-09-21T06:42:51.000000Z"}, {"uuid": "0e2bd12d-40b3-494a-a7dd-1dd5cd824e7d", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "seen", "source": "https://t.me/cibsecurity/15327", "content": "\u203c CVE-2020-15867 \u203c\n\nThe git hook feature in Gogs 0.5.5 through 0.12.2 allows for authenticated remote code execution.\n\n\ud83d\udcd6 Read\n\nvia \"National Vulnerability Database\".", "creation_timestamp": "2020-10-16T18:42:22.000000Z"}, {"uuid": "38310b34-1d38-4b46-a77c-4e4ea53887c3", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2020-15867", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gogs_git_hooks_rce.rb", "content": "{\"aliases\": [], \"arch\": \"cmd, x86, x64\", \"author\": [\"Podalirius\", \"Christophe De La Fuente\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"This module leverages an insecure setting to get remote code\\n          execution on the target OS in the context of the user running Gogs.\\n          This is possible when the current user is allowed to create `git\\n          hooks`, which is the default for administrative users. For\\n          non-administrative users, the permission needs to be specifically\\n          granted by an administrator.\\n\\n          To achieve code execution, the module authenticates to the Gogs web\\n          interface, creates a temporary repository, sets a `post-receive` git\\n          hook with the payload and creates a dummy file in the repository.\\n          This last action will trigger the git hook and execute the payload.\\n          Everything is done through the web interface.\\n\\n          No mitigation has been implemented so far (latest stable version is\\n          0.12.3).\\n\\n          This module has been tested successfully against version 0.12.3 on\\n          docker. Windows version could not be tested since the git hook feature\\n          seems to be broken.\", \"disclosure_date\": \"2020-10-07\", \"fullname\": \"exploit/multi/http/gogs_git_hooks_rce\", \"is_install_path\": true, \"mod_time\": \"2025-12-17 16:12:31 +0000\", \"name\": \"Gogs Git Hooks Remote Code Execution\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"config-changes\", \"artifacts-on-disk\", \"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/multi/http/gogs_git_hooks_rce.rb\", \"platform\": \"Linux,Unix,Windows\", \"post_auth\": true, \"rank\": 600, \"ref_name\": \"multi/http/gogs_git_hooks_rce\", \"references\": [\"CVE-2020-15867\", \"EDB-49571\", \"URL-https://podalirius.net/articles/exploiting-cve-2020-14144-gitea-authenticated-remote-code-execution/\", \"URL-http://web.archive.org/web/20211209025818/https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1126-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent/\"], \"rport\": 3000, \"session_types\": false, \"targets\": [\"Unix Command\", \"Linux Dropper\", \"Windows Command\", \"Windows Dropper\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:49:49.348510Z"}]}