CWE
77
Advisory Published
Updated

CVE-2022-43781: Command Injection

First published: Thu Nov 17 2022(Updated: )

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”.

Credit: security@atlassian.com security@atlassian.com

Affected SoftwareAffected VersionHow to fix
Atlassian Bitbucket>=7.0.0<7.6.19
Atlassian Bitbucket>=7.7.0<7.17.12
Atlassian Bitbucket>=7.18.0<7.21.6
Atlassian Bitbucket>=7.22.0<8.0.5
Atlassian Bitbucket>=8.1.0<8.1.5
Atlassian Bitbucket>=8.2.0<8.2.4
Atlassian Bitbucket>=8.3.0<8.3.3
Atlassian Bitbucket>=8.4.0<8.4.2
>=7.0.0<7.6.19
>=7.7.0<7.17.12
>=7.18.0<7.21.6
>=7.22.0<8.0.5
>=8.1.0<8.1.5
>=8.2.0<8.2.4
>=8.3.0<8.3.3
>=8.4.0<8.4.2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2022-43781?

    CVE-2022-43781 is a command injection vulnerability in Bitbucket Server and Data Center that allows an attacker to execute arbitrary code on the system by controlling their username.

  • What is the severity of CVE-2022-43781?

    The severity of CVE-2022-43781 is critical with a CVSS score of 9.8.

  • Which versions of Bitbucket are affected by CVE-2022-43781?

    Bitbucket versions 7.0.0 to 7.6.19, 7.7.0 to 7.17.12, 7.18.0 to 7.21.6, 7.22.0 to 8.0.5, 8.1.0 to 8.1.5, 8.2.0 to 8.2.4, 8.3.0 to 8.3.3, and 8.4.0 to 8.4.2 are affected by CVE-2022-43781.

  • How can an attacker exploit CVE-2022-43781?

    An attacker with permission to control their username can exploit CVE-2022-43781 by injecting malicious commands through environment variables, enabling them to execute arbitrary code on the system.

  • Are authentication credentials required to exploit CVE-2022-43781?

    CVE-2022-43781 can be exploited without authentication if the Bitbucket Server and Data Center are vulnerable.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203