CVE-2022-43781
Published: 17 November 2022
Summary
CVE-2022-43781 is a critical-severity Command Injection (CWE-77) vulnerability in Atlassian Bitbucket. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 0.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
CVE-2022-43781 is a command injection vulnerability that arises from unsafe handling of environment variables in Atlassian Bitbucket Server and Data Center. The flaw is tracked under CWE-77 and carries a CVSS 3.1 score of 9.8. An attacker who can control a username value is able to inject operating-system commands that execute with the privileges of the Bitbucket process.
Exploitation requires the ability to set or modify a username; when the instance permits public signup the attack can be performed unauthenticated over the network. Successful exploitation results in arbitrary code execution on the underlying server, giving an attacker full control over the confidentiality, integrity, and availability of the Bitbucket instance and any connected repositories.
Public advisories and patch information are published by Atlassian at the referenced Confluence and Jira locations (https://confluence.atlassian.com/x/Y4hXRg and https://jira.atlassian.com/browse/BSERV-13522).
The CVE maintains a high EPSS score, with a current value of 0.8748 and a recorded peak of 0.9208, indicating sustained exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-46751
Vulnerability details
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…
more
the Bitbucket Server and Data Center instance has enabled “Allow public signup”.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
No mitigating controls mapped yet. The per-CVE control annotator has not reached this CVE.