CVE-2022-43781 Command injection in Bitbucket Data Center
Attackers can execute arbitrary code via command injection in environment variables, potentially unauthenticated if public signup is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-43781?
CVE-2022-43781 is a critical command injection vulnerability in Atlassian Bitbucket Data Center, published on 17 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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”.
Weakness: CWE-77
Which versions are affected by CVE-2022-43781?
It affects 1 product.
Products include Atlassian Bitbucket.
How do I fix CVE-2022-43781?
No fix has been published for CVE-2022-43781 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2022-43781 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-43781 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in Atlassian Bitbucket Data Center
Sources
Also known as GHSA-3883-h64p-r3xm.