Stackurity Start free trial

CVEs / CVE-2022-36804

CVE-2022-36804: Atlassian Bitbucket Server and Data Center Command Injection Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2022-36804

Summary

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.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 25 Aug 2022 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Atlassian Bitbucket Serverfrom 7.0.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 7.6.177.6.17
Atlassian Bitbucket Serverfrom 7.7.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 7.17.107.17.10
Atlassian Bitbucket Serverfrom 7.18.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 7.21.47.21.4
Atlassian Bitbucket Serverfrom 8.0.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 8.0.38.0.3
Atlassian Bitbucket Serverfrom 8.1.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 8.1.38.1.3
Atlassian Bitbucket Serverfrom 8.2.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 8.2.28.2.2
Atlassian Bitbucket Serverfrom 8.3.0, before unspecifiedunspecified
Atlassian Bitbucket Serverfrom unspecified, before 8.3.18.3.1
Atlassian Bitbucket Data Centerfrom 7.0.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 7.6.177.6.17
Atlassian Bitbucket Data Centerfrom 7.7.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 7.17.107.17.10
Atlassian Bitbucket Data Centerfrom 7.18.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 7.21.47.21.4
Atlassian Bitbucket Data Centerfrom 8.0.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 8.0.38.0.3
Atlassian Bitbucket Data Centerfrom 8.1.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 8.1.38.1.3
Atlassian Bitbucket Data Centerfrom 8.2.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 8.2.28.2.2
Atlassian Bitbucket Data Centerfrom 8.3.0, before unspecifiedunspecified
Atlassian Bitbucket Data Centerfrom unspecified, before 8.3.18.3.1

Exploitation

In CISA KEV since30 Sep 2022
Due date for US federal agencies21 Oct 2022
Used in ransomware campaignsUnknown
Required actionApply updates per vendor instructions.

Severity

CVSS 3.18.8 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-78, CWE-88

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.