{"uuid": "8018c341-4e5d-49a6-80b8-abc59ddaaae1", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "CVE-2022-36804", "type": "seen", "source": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/bitbucket_git_cmd_injection.rb", "content": "{\"aliases\": [], \"arch\": \"x86, x64, cmd\", \"author\": [\"TheGrandPew\", \"Ron Bowes\", \"Jang\", \"Shelby Pace\"], \"autofilter_ports\": [80, 8080, 443, 8000, 8888, 8880, 8008, 3000, 8443], \"autofilter_services\": [\"http\", \"https\"], \"check\": true, \"default_credential\": false, \"description\": \"Various versions of Bitbucket Server and Data Center are vulnerable to\\n          an unauthenticated command injection vulnerability in multiple API endpoints.\\n\\n          The `/rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/archive` endpoint\\n          creates an archive of the repository, leveraging the `git-archive` command to do so.\\n          Supplying NULL bytes to the request enables the passing of additional arguments to the\\n          command, ultimately enabling execution of arbitrary commands.\", \"disclosure_date\": \"2022-08-24\", \"fullname\": \"exploit/linux/http/bitbucket_git_cmd_injection\", \"is_install_path\": true, \"mod_time\": \"2026-04-22 11:54:55 +0000\", \"name\": \"Bitbucket Git Command Injection\", \"needs_cleanup\": null, \"notes\": {\"Reliability\": [\"repeatable-session\"], \"SideEffects\": [\"ioc-in-logs\"], \"Stability\": [\"crash-safe\"]}, \"path\": \"/modules/exploits/linux/http/bitbucket_git_cmd_injection.rb\", \"platform\": \"Linux,Unix\", \"post_auth\": false, \"rank\": 600, \"ref_name\": \"linux/http/bitbucket_git_cmd_injection\", \"references\": [\"URL-https://blog.assetnote.io/2022/09/14/rce-in-bitbucket-server/\", \"URL-https://confluence.atlassian.com/bitbucketserver/bitbucket-server-and-data-center-advisory-2022-08-24-1155489835.html\", \"URL-https://attackerkb.com/topics/iJIxJ6JUow/cve-2022-36804/rapid7-analysis\", \"URL-https://www.rapid7.com/blog/post/2022/09/20/cve-2022-36804-easily-exploitable-vulnerability-in-atlassian-bitbucket-server-and-data-center/\", \"CVE-2022-36804\"], \"rport\": 7990, \"session_types\": false, \"targets\": [\"Linux Dropper\", \"Unix Command\"], \"type\": \"exploit\"}", "creation_timestamp": "2026-09-08T06:48:24.895044Z"}