CVE-2022-36804Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
Known exploited — Atlassian Bitbucket Server and Data Center Command Injection Vulnerability
CISA confirmed this vulnerability is used in real attacks on 30.09.2022. Remediation deadline for US federal agencies: 21.10.2022.
Required action: Apply updates per vendor instructions. https://jira.atlassian.com/browse/BSERV-13438; https://nvd.nist.gov/vuln/detail/CVE-2022-36804
Description
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| atlassian | bitbucket | 7.0.0 – < 7.6.17 | |
| Atlassian | Bitbucket Data Center | 7.0.0 – < unspecified, unspecified – < 7.6.17, 7.7.0 – < unspecified, unspecified – < 7.17.10, 7.18.0 – < unspecified, unspecified – < 7.21.4, 8.0.0 – < unspecified, unspecified – < 8.0.3, 8.1.0 – < unspecified, unspecified – < 8.1.3, 8.2.0 – < unspecified, unspecified – < 8.2.2, 8.3.0 – < unspecified, unspecified – < 8.3.1 | |
| Atlassian | Bitbucket Server | 7.0.0 – < unspecified, unspecified – < 7.6.17, 7.7.0 – < unspecified, unspecified – < 7.17.10, 7.18.0 – < unspecified, unspecified – < 7.21.4, 8.0.0 – < unspecified, unspecified – < 8.0.3, 8.1.0 – < unspecified, unspecified – < 8.1.3, 8.2.0 – < unspecified, unspecified – < 8.2.2, 8.3.0 – < unspecified, unspecified – < 8.3.1 |
References and patches
- https://jira.atlassian.com/browse/BSERV-13438 Issue TrackingPatchRelease NotesVendor Advisory
- http://packetstormsecurity.com/files/168470/Bitbucket-Git-Command-Injection.html ExploitThird Party AdvisoryVDB Entry
- http://packetstormsecurity.com/files/171453/Bitbucket-7.0.0-Remote-Command-Execution.html ExploitThird Party AdvisoryVDB Entry
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-36804 US Government Resource
CPE matches (NVD) (7)
cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 7.0.0 < 7.6.17cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 7.7.0 < 7.17.10cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 7.18.0 < 7.21.4cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.0.3cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 8.1.0 < 8.1.3cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*≥ 8.2.0 < 8.2.2cpe:2.3:a:atlassian:bitbucket:8.3.0:*:*:*:*:*:*:*