Vulnerability Name:

CVE-2016-6658 (CCN-142524)

Assigned:2016-11-02
Published:2016-11-02
Updated:2018-04-24
Summary:Applications in cf-release before 245 can be configured and pushed with a user-provided custom buildpack using a URL pointing to the buildpack. Although it is not recommended, a user can specify a credential in the URL (basic auth or OAuth) to access the buildpack through the CLI. For example, the user could include a GitHub username and password in the URL to access a private repo. Because the URL to access the buildpack is stored unencrypted, an operator with privileged access to the Cloud Controller database could view these credentials.
CVSS v3 Severity:9.6 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N)
8.3 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Changed
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): None
4.3 Medium (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N)
3.8 Low (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): None
Integrity (I): Low
Availibility (A): None
CVSS v2 Severity:4.0 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:N/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): None
Availibility (A): None
4.0 Medium (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:N/I:P/A:N)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): None
Integrity (I): Partial
Availibility (A): None
Vulnerability Type:CWE-200
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2016-6658

Source: XF
Type: UNKNOWN
pivotal-cve20166658-sec-bypass(142524)

Source: CCN
Type: cf-release GIT Repository
cf-release v245

Source: CCN
Type: Pivotal Web site
CVE-2016-6658 Incomplete fix for Credential Vulnerability for Custom Buildpacks

Source: CONFIRM
Type: Vendor Advisory
https://pivotal.io/security/cve-2016-6658

Vulnerable Configuration:Configuration 1:
  • cpe:/a:cloudfoundry:cf-release:*:*:*:*:*:*:*:* (Version < 245)

  • Configuration 2:
  • cpe:/a:pivotal_software:cloud_foundry_elastic_runtime:*:*:*:*:*:*:*:* (Version < 1.6.49)
  • OR cpe:/a:pivotal_software:cloud_foundry_elastic_runtime:*:*:*:*:*:*:*:* (Version >= 1.7.0 and < 1.7.31)
  • OR cpe:/a:pivotal_software:cloud_foundry_elastic_runtime:*:*:*:*:*:*:*:* (Version >= 1.8.0 and < 1.8.11)

  • Configuration CCN 1:
  • cpe:/a:cloudfoundry:cf-release:241:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    cloudfoundry cf-release *
    pivotal_software cloud foundry elastic runtime *
    pivotal_software cloud foundry elastic runtime *
    pivotal_software cloud foundry elastic runtime *
    cloudfoundry cf-release 241