Lucene search

K
atlassianSecurity-metrics-botBSERV-11947
HistorySep 05, 2019 - 4:14 a.m.

Argument Injection - CVE-2019-15000

2019-09-0504:14:55
security-metrics-bot
jira.atlassian.com
12

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.009 Low

EPSS

Percentile

82.8%

Bitbucket Server & Bitbucket Data Center had an argument injection vulnerability, allowing an attacker to inject additional arguments into Git commands, which could lead to remote code execution. Remote attackers can exploit this argument injection vulnerability if they are able to access a Git repository in Bitbucket Server or Bitbucket Data Center. If public access is enabled for a project or repository, then attackers are able to exploit this issue anonymously.

Affected versions:

  • All versions of Bitbucket Server & Bitbucket Data Center before 5.16.10 (the fixed version for 5.16.x ), from 6.0.0 before 6.0.10 (the fixed version for 6.0.x), from 6.1.0 before 6.1.8 (the fixed version for 6.1.x), from 6.2.0 before 6.2.6 (the fixed version for 6.2.x), from 6.3.0 before 6.3.5 (the fixed version for 6.3.x), from 6.4.0 before 6.4.3 (the fixed version for 6.4.x), and from 6.5.0 before 6.5.2 (the fixed version for 6.5.x) are affected by this vulnerability.

h3. What You Need to Do

Atlassian recommends that you upgrade to the latest version. For a full description of the latest version of Bitbucket Server & Bitbucket Data Center, see the [release notes|https://confluence.atlassian.com/bitbucketserver/bitbucket-server-6-6-release-notes-975023322.html]. You can download the latest version of Bitbucket Server from the [download center.|https://www.atlassian.com/software/bitbucket/download]

Fix:

h3. Mitigation

To help mitigate the issue, we have a hotfix available in the form of a plugin that can be enabled with zero downtime. You do not require the hotfix if you are already on a fixed version of Bitbucket, and the hotfix will refuse to install on any fixed version.
{panel:bgColor=#ffffce}
The hotfix works for Bitbucket Server and Bitbucket Data Center instances and can be used to protect systems while planning and executing an upgrade to a fixed version.

Please note that installed apps may still introduce vulnerabilities, even with the hotfix installed. The hotfix only protects the standard functionality of Bitbucket.
{panel}
This hotfix covers:

  • Standard Bitbucket functionality and features
  • Bitbucket Server and Data Center versions 4.0.0 and later
  • Bitbucket Server and Data Center instances

h4. To install the hotfix:

This hotfix is a zero down time installation - No restart is required after installing the hotfix.

Login to Bitbucket with your administrator account

Go to Administration (cog wheel) and navigate to “Addons” → “Manage apps“

Select “Upload App” and provide the URL: {{[^bitbucket-bserv-11896-hotfix-1.0.0.jar]}}

Click “Upload” and wait for the hotfix to install.

If you are unable to upload the hotfix with the URL provided or Bitbucket is behind a firewall, you can download the hotfix plugin Jar from this issue. You are then able to upload the Jar file using the same steps above.

After upgrading to a fixed version there’s no need to remove the hotfix manually; it will be uninstalled automatically as part of the upgrade process.

For additional details, see the [full advisory|https://confluence.atlassian.com/x/Czc4Og].

Affected configurations

Vulners
Node
atlassianbitbucket_data_centerRange1.0
OR
atlassianbitbucket_data_centerRange1.3.1
OR
atlassianbitbucket_data_centerRange2.12.6
OR
atlassianbitbucket_data_centerRange3.11.6
OR
atlassianbitbucket_data_centerRange4.14.12
OR
atlassianbitbucket_data_centerRange6.5.1
OR
atlassianbitbucket_data_centerRange5.16.9
OR
atlassianbitbucket_data_centerRange<6.6.0
OR
atlassianbitbucket_data_centerRange<6.5.2
OR
atlassianbitbucket_data_centerRange<5.16.10
OR
atlassianbitbucket_data_centerRange<6.0.10
OR
atlassianbitbucket_data_centerRange<6.1.8
OR
atlassianbitbucket_data_centerRange<6.2.6
OR
atlassianbitbucket_data_centerRange<6.3.5
OR
atlassianbitbucket_data_centerRange<6.4.3
OR
atlassianbitbucket_data_centerRange<6.6.1

6.8 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:M/Au:N/C:P/I:P/A:P

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

0.009 Low

EPSS

Percentile

82.8%

Related for BSERV-11947