CVE-2022-36804

Atlassian Bitbucket Server and Data Center: Command Injection

As of , CVE-2022-36804 in Atlassian Bitbucket Server and Data Center is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 30 September 2022
US federal deadline
21 October 202221 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Not known to CISA
EPSS score
0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.79 on 30 September 2022EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 1 Exploit-DB entry
Fix
Vendor advice: jira.atlassian.comLinks below, from CISA's entry.

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

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's 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's description, from atlassian

CVE published
25 August 2022
Assigned by
atlassian
CVSS
8.8 High (CVSS 3.1, from CISA-ADP)
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CWE-88
Improper Neutralization of Argument Delimiters in a Command ('Argument Injection')
CWE-158
Improper Neutralization of Null Byte or NUL Character
CISA SSVC, exploitation
active
CISA SSVC, automatable
no
CISA SSVC, technical impact
total

Timeline

  1. The CVE record was published.
  2. CISA added it to its list of exploited vulnerabilities.
  3. The US federal deadline to fix it.
  4. Exploit-DB published an exploit (EDB-ID 51040).

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Read further