#VU66798 OS Command Injection in Bitbucket Server and Bitbucket Data Center - CVE-2022-36804

 

#VU66798 OS Command Injection in Bitbucket Server and Bitbucket Data Center - CVE-2022-36804

Published: August 29, 2022 / Updated: February 25, 2025


Vulnerability identifier: #VU66798
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Amber
CVE-ID: CVE-2022-36804
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
Bitbucket Server
Bitbucket Data Center
Software vendor:
Atlassian

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation within multiple API endpoints. A remote attacker with access to a public repository or read permissions to a private Bitbucket repository can send a specially crafted HTTP request and execute arbitrary OS commands on the server.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Remediation

Install updates from vendor's website.

External links