Atlassian Bitbucket < 5.16.11 Multiple Vulnerabilities

high Web App Scanning Plugin ID 113656

Synopsis

Atlassian Bitbucket < 5.16.11 Multiple Vulnerabilities

Description

According to its self-reported version number, the Atlassian Bitbucket application running on the remote host is prior to 5.16.11, 6.0.x prior to 6.0.11, 6.1.x prior to 6.1.9, 6.2.x prior to 6.2.7, 6.3.x prior to 6.3.6, 6.4.x prior to 6.4.4, 6.5.x prior to 6.5.3, 6.6.x prior to 6.6.3, 6.7.x prior to 6.7.3, 6.8.x prior to 6.8.2 or 6.9.x prior to 6.9.1. It is, therefore, affected by multiple vulnerabilities. - A Remote Code Execution vulnerability present in certain user input fields. Using a specially crafted payload as user input, an attacker may execute arbitrary commands on the targeted Bitbucket instance. - A Remote Code Execution vulnerability via the edit-file request. A remote attacker with write permission on a repository may write to any arbitrary file to the target Bitbucket instance using the edit-file endpoint, if the user has Bitbucket Server or Bitbucket Data Center running, and has the permission to write the file at that destination. In some cases, this can result in execution of arbitrary code on the targeted Bitbucket Server. - A Remote Code Execution vulnerability via the post-receive hook. A remote attacker with permission to clone and push files to a repository on the bitbutcket instance may exploit this vulnerability to execute arbitrary commands on the targeted Bitbucket Server using a file with specially crafted content.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Atlassian Bitbucket version 5.16.11 or later.

See Also

https://jira.atlassian.com/browse/BSERV-12098

https://jira.atlassian.com/browse/BSERV-12099

https://jira.atlassian.com/browse/BSERV-12100

Plugin Details

Severity: High

ID: 113656

Type: remote

Published: 3/6/2023

Updated: 3/14/2023

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.5

Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P

CVSS Score Source: CVE-2019-15010

CVSS v3

Risk Factor: High

Base Score: 8.8

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS Score Source: CVE-2019-15010

Vulnerability Information

CPE: cpe:2.3:a:atlassian:bitbucket:*:*:*:*:*:*:*:*

Exploit Ease: No known exploits are available

Patch Publication Date: 12/23/2019

Vulnerability Publication Date: 12/17/2019

Reference Information

CVE: CVE-2019-15010, CVE-2019-15012, CVE-2019-20097