CVE-2022-36804
Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
15Exploited in Wild
YesDecision
Descriptions
Multiple API endpoints in Atlassian Bitbucket Server and Data Center 7.0.0 before version 7.6.17, from version 7.7.0 before version 7.17.10, from version 7.18.0 before version 7.21.4, from version 8.0.0 before version 8.0.3, from version 8.1.0 before version 8.1.3, and from version 8.2.0 before version 8.2.2, and from version 8.3.0 before 8.3.1 allows remote attackers with read permissions to a public or private Bitbucket repository to execute arbitrary code by sending a malicious HTTP request. This vulnerability was reported via our Bug Bounty Program by TheGrandPew.
Múltiples endpoints de la API en Atlassian Bitbucket Server y Data Center 7.0.0 versiones anteriores a 7.6.17, desde versiones 7.7.0 anteriores a 7.17.10, desde versiones 7.18.0 anteriores a 7.21.4, desde versiones 8.0.0 anteriores a 8.0.3, desde versiones 8.1. 0 versiones anteriores a 8.1.3, y desde versiones 8.2.0 anteriores a 8.2.2, y desde versiones 8.3.0 anteriores a 8.3.1, permite a atacantes remotos con permisos de lectura en un repositorio público o privado de Bitbucket ejecutar código arbitrario enviando una petición HTTP maliciosa. Esta vulnerabilidad fue reportada por medio de nuestro programa Bug Bounty por TheGrandPew.
Various versions of Bitbucket Server and Data Center are vulnerable to an unauthenticated command injection vulnerability in multiple API endpoints. The /rest/api/latest/projects/{projectKey}/repos/{repositorySlug}/archive endpoint creates an archive of the repository, leveraging the git-archive command to do so. Supplying NULL bytes to the request enables the passing of additional arguments to the command, ultimately enabling execution of arbitrary commands.
Multiple API endpoints of Atlassian Bitbucket Server and Data Center contain a command injection vulnerability where an attacker with access to a public Bitbucket repository, or with read permissions to a private one, can execute code by sending a malicious HTTP request.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2022-07-26 CVE Reserved
- 2022-08-25 CVE Published
- 2022-09-07 First Exploit
- 2022-09-30 Exploited in Wild
- 2022-10-21 KEV Due Date
- 2024-09-16 CVE Updated
- 2024-11-01 EPSS Updated
CWE
CAPEC
References (16)
URL | Tag | Source |
---|
URL | Date | SRC |
---|---|---|
https://jira.atlassian.com/browse/BSERV-13438 | 2024-06-28 |
URL | Date | SRC |
---|
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.17 Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.0.0 < 7.6.17" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | >= 7.7.0 < 7.17.10 Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.7.0 < 7.17.10" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | >= 7.18.0 < 7.21.4 Search vendor "Atlassian" for product "Bitbucket" and version " >= 7.18.0 < 7.21.4" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | >= 8.0.0 < 8.0.3 Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.0.0 < 8.0.3" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | >= 8.1.0 < 8.1.3 Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.1.0 < 8.1.3" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | >= 8.2.0 < 8.2.2 Search vendor "Atlassian" for product "Bitbucket" and version " >= 8.2.0 < 8.2.2" | - |
Affected
| ||||||
Atlassian Search vendor "Atlassian" | Bitbucket Search vendor "Atlassian" for product "Bitbucket" | 8.3.0 Search vendor "Atlassian" for product "Bitbucket" and version "8.3.0" | - |
Affected
|