Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2022-43781 EUVD-2022-46751GHSA-3883-h64p-r3xm

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to …

Published Nov 17, 2022 · Updated Oct 2, 2024 · Assigned by atlassian

Description

There is a command injection vulnerability using environment variables in Bitbucket Server and Data Center. An attacker with permission to control their username can exploit this issue to execute arbitrary code on the system. This vulnerability can be unauthenticated if the Bitbucket Server and Data Center instance has enabled “Allow public signup”.

Affected products

VendorProductAffectedFixed
Atlassian Bitbucket Data Center before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2, before 8.5.0 before 7.0
Atlassian Bitbucket Server before 7.17.12, before 7.21.6, before 7.6.19, before 8.0.5, before 8.1.5, before 8.2.4, before 8.3.3, before 8.4.2, before 8.5.0 before 7.0

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References