Exploit database

Vulnerability

CVE-2022-36804

Vulnerability details

Score
8.8
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Description

Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.

CVE Program

Exploit source choices

14 sources
Bitbucket Git Command Injection
MSF-linux--http--bitbucket_git_cmd_injectionMetasploitLinux,Unix / remote

Various versions of Bitbucket Server and Data Center are vulnerable to an unauthenticated command injection vulnerability in multiple API endpoints. The `/rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/archive` endpoint creates an archive of the repository, leveraging the `git-archive` command to do so. Supplying NULL bytes to the request enables the passing of additional arguments to the command, ultimately enabling execution of arbitrary commands.

2022-08-24bitbucket_git_cmd_injection.rb
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
notdls/cve-2022-36804
GH-1e90bbb715394833736c20e58c1c7639GitHubUnofficial GitHub source

A real exploit for BitBucket RCE CVE-2022-36804

2022-09-072 files · 35 stars
notxesh/cve-2022-36804-poc
GH-660d28db2b235e7613038010914bbe87GitHubUnofficial GitHub source

Multithreaded exploit script for CVE-2022-36804 affecting BitBucket versions <8.3.1

2022-09-193 files · 18 stars
benjaminhays/cve-2022-36804-poc-exploit
GH-7d9894ad29a1e99e745ef1b0c894ba95GitHubUnofficial GitHub source

Somewhat Reliable PoC Exploit for CVE-2022-36804 (BitBucket Critical Command Injection)

2022-09-204 files · 16 stars
sh4den/cve-2022-36804
GH-5d49ed37b0d48684b84c22da1f2d8c8bGitHubUnofficial GitHub source

A loader for bitbucket 2022 rce (cve-2022-36804)

2022-09-263 files · 12 stars
walnutsecurity/cve-2022-36804
GH-5b10e29dbafb6205a764bb1e5d304fa6GitHubUnofficial GitHub source

A critical command injection vulnerability was found in multiple API endpoints of the Atlassian Bit bucket Server and Data center. This vulnerability affects all versions of Bitbucket Server and Data Center released before versions <7.6.17, <7.17.10, <7.21.4, <8.0.3, <8.1.2, <8.2.2, and <8.3.1

2023-01-233 files · 8 stars
kljunowsky/cve-2022-36804-poc
GH-e6f7629b508bb717ef59875e690e6227GitHubUnofficial GitHub source

Bitbucket CVE-2022-36804 unauthenticated remote command execution

2022-09-213 files · 7 stars
tahtaciburak/cve-2022-36804
GH-9cc8be740834e441fc5b17cf884d0bd0GitHubUnofficial GitHub source

A simple PoC for Atlassian Bitbucket RCE [CVE-2022-36804]

2022-09-253 files · 7 stars
chocapikk/cve-2022-36804-reverseshell
GH-9c357e415336e2795d8a6f65f7846356GitHubUnofficial GitHub source

PoC exploit for CVE-2022-36804 (BitBucket Critical Command Injection)

2022-09-233 files · 4 stars
khal4n1/cve-2022-36804
GH-d7d6e9720ee02f506c027fe9c9ce9de2GitHubUnofficial GitHub source

You can find a python script to exploit the vulnerability on Bitbucket related CVE-2022-36804.

2022-09-242 files · 3 stars
0xeleven/cve-2022-36804-reverseshell
GH-69e4e7784f69d27dd707eb85a7afd0c9GitHubUnofficial GitHub source

PoC exploit for CVE-2022-36804 (BitBucket Critical Command Injection)

2022-09-243 files · 0 stars
asepsaepdin/cve-2022-36804
GH-28404e158df95d2398579e0ba6e857e7GitHubUnofficial GitHub source

asepsaepdin/cve-2022-36804 source repository

2025-01-303 files · 0 stars