// For flags

CVE-2022-43781

Bitbucket Environment Variable Remote Command Injection

Severity Score

9.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Attend
*SSVC
Descriptions

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

Existe una vulnerabilidad de inyección de comandos mediante variables de entorno en Bitbucket Server y Data Center. Un atacante con permiso para controlar su nombre de usuario puede aprovechar este problema para ejecutar código arbitrario en el sistema. Esta vulnerabilidad puede no autenticarse si la instancia de Bitbucket Server y Data Center ha habilitado "Allow public signup".

*Credits: https://github.com/Ry0taK
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
* Common Vulnerability Scoring System
SSVC
  • Decision:Attend
Exploitation
None
Automatable
Yes
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2022-10-26 CVE Reserved
  • 2022-11-17 CVE Published
  • 2024-08-06 EPSS Updated
  • 2024-10-02 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
CAPEC
References (2)
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 7.0.0 < 7.6.19
Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.0.0 < 7.6.19"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 7.7.0 < 7.17.12
Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.7.0 < 7.17.12"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 7.18.0 < 7.21.6
Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.18.0 < 7.21.6"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 7.22.0 < 8.0.5
Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.22.0 < 8.0.5"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 8.1.0 < 8.1.5
Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.1.0 < 8.1.5"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 8.2.0 < 8.2.4
Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.2.0 < 8.2.4"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 8.3.0 < 8.3.3
Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.3.0 < 8.3.3"
-
Affected
Atlassian
Search vendor "Atlassian"
Bitbucket
Search vendor "Atlassian" for product "Bitbucket"
>= 8.4.0 < 8.4.2
Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.4.0 < 8.4.2"
-
Affected