CVE Vulnerabilities

CVE-2016-9086

Exposure of Sensitive Information to an Unauthorized Actor

Published: Nov 03, 2016 | Modified: Nov 29, 2016
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

GitLab versions 8.9.x and above contain a critical security flaw in the import/export project feature of GitLab. Added in GitLab 8.9, this feature allows a user to export and then re-import their projects as tape archive files (tar). All GitLab versions prior to 8.13.0 restricted this feature to administrators only. Starting with version 8.13.0 this feature was made available to all users. This feature did not properly check for symbolic links in user-provided archives and therefore it was possible for an authenticated user to retrieve the contents of any file accessible to the GitLab service account. This included sensitive files such as those that contain secret tokens used by the GitLab service to authenticate users. GitLab CE and EE versions 8.13.0 through 8.13.2, 8.12.0 through 8.12.7, 8.11.0 through 8.11.10, 8.10.0 through 8.10.12, and 8.9.0 through 8.9.11 are affected.

Weakness

The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.

Affected Software

Name Vendor Start Version End Version
Gitlab Gitlab 8.9.0 (including) 8.9.0 (including)
Gitlab Gitlab 8.9.1 (including) 8.9.1 (including)
Gitlab Gitlab 8.9.2 (including) 8.9.2 (including)
Gitlab Gitlab 8.9.3 (including) 8.9.3 (including)
Gitlab Gitlab 8.9.4 (including) 8.9.4 (including)
Gitlab Gitlab 8.9.5 (including) 8.9.5 (including)
Gitlab Gitlab 8.9.6 (including) 8.9.6 (including)
Gitlab Gitlab 8.9.7 (including) 8.9.7 (including)
Gitlab Gitlab 8.9.8 (including) 8.9.8 (including)
Gitlab Gitlab 8.9.9 (including) 8.9.9 (including)
Gitlab Gitlab 8.9.10 (including) 8.9.10 (including)
Gitlab Gitlab 8.9.11 (including) 8.9.11 (including)
Gitlab Gitlab 8.10.0 (including) 8.10.0 (including)
Gitlab Gitlab 8.10.1 (including) 8.10.1 (including)
Gitlab Gitlab 8.10.2 (including) 8.10.2 (including)
Gitlab Gitlab 8.10.3 (including) 8.10.3 (including)
Gitlab Gitlab 8.10.4 (including) 8.10.4 (including)
Gitlab Gitlab 8.10.5 (including) 8.10.5 (including)
Gitlab Gitlab 8.10.6 (including) 8.10.6 (including)
Gitlab Gitlab 8.10.7 (including) 8.10.7 (including)
Gitlab Gitlab 8.10.8 (including) 8.10.8 (including)
Gitlab Gitlab 8.10.9 (including) 8.10.9 (including)
Gitlab Gitlab 8.10.10 (including) 8.10.10 (including)
Gitlab Gitlab 8.10.11 (including) 8.10.11 (including)
Gitlab Gitlab 8.10.12 (including) 8.10.12 (including)
Gitlab Gitlab 8.11.0 (including) 8.11.0 (including)
Gitlab Gitlab 8.11.1 (including) 8.11.1 (including)
Gitlab Gitlab 8.11.2 (including) 8.11.2 (including)
Gitlab Gitlab 8.11.3 (including) 8.11.3 (including)
Gitlab Gitlab 8.11.4 (including) 8.11.4 (including)
Gitlab Gitlab 8.11.5 (including) 8.11.5 (including)
Gitlab Gitlab 8.11.6 (including) 8.11.6 (including)
Gitlab Gitlab 8.11.7 (including) 8.11.7 (including)
Gitlab Gitlab 8.11.8 (including) 8.11.8 (including)
Gitlab Gitlab 8.11.9 (including) 8.11.9 (including)
Gitlab Gitlab 8.12.0 (including) 8.12.0 (including)
Gitlab Gitlab 8.12.1 (including) 8.12.1 (including)
Gitlab Gitlab 8.12.2 (including) 8.12.2 (including)
Gitlab Gitlab 8.12.3 (including) 8.12.3 (including)
Gitlab Gitlab 8.12.4 (including) 8.12.4 (including)
Gitlab Gitlab 8.12.5 (including) 8.12.5 (including)
Gitlab Gitlab 8.12.6 (including) 8.12.6 (including)
Gitlab Gitlab 8.12.7 (including) 8.12.7 (including)
Gitlab Gitlab 8.13.0 (including) 8.13.0 (including)
Gitlab Gitlab 8.13.1 (including) 8.13.1 (including)
Gitlab Gitlab 8.13.2 (including) 8.13.2 (including)
Gitlab Ubuntu artful *
Gitlab Ubuntu yakkety *
Gitlab Ubuntu zesty *

Extended Description

There are many different kinds of mistakes that introduce information exposures. The severity of the error can range widely, depending on the context in which the product operates, the type of sensitive information that is revealed, and the benefits it may provide to an attacker. Some kinds of sensitive information include:

Information might be sensitive to different parties, each of which may have their own expectations for whether the information should be protected. These parties include:

Information exposures can occur in different ways:

It is common practice to describe any loss of confidentiality as an “information exposure,” but this can lead to overuse of CWE-200 in CWE mapping. From the CWE perspective, loss of confidentiality is a technical impact that can arise from dozens of different weaknesses, such as insecure file permissions or out-of-bounds read. CWE-200 and its lower-level descendants are intended to cover the mistakes that occur in behaviors that explicitly manage, store, transfer, or cleanse sensitive information.

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References