OS Command Injection in Bitbucket Data Center and Bitbucket Server - CVE-2022-43781
Published: November 18, 2022 / Updated: March 16, 2023
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.
The vulnerability exists due to improper input validation when processing usernames. A remote attacker with ability to control their own username (e.g. with enabled "Allow public signup" option) can pass specially crafted data to the application and execute arbitrary OS commands on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Bitbucket Server
How to mitigate CVE-2022-43781
Bitbucket Server - addressed in versions 7.6.19, 7.17.12, 7.21.6, 8.0.5, 8.1.5, 8.2.4, 8.3.3, 8.4.2