Cloud FoundryApplication · Pivotal Software

CVE-2016-5006

CRITICAL · 9.8 CVSS v3.0 Published 2017-05-02
Fix available
A fix is available. Upgrade to after 238.0 or later.
See remediation →
100/100
Remediation priority · Urgent
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
The Cloud Controller in Cloud Foundry before 239 logs user-provided service objects at creation, which allows attackers to obtain sensitive user credential information via unspecified vectors.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Cloud Controller component in Cloud Foundry versions prior to 239 improperly logs user-provided service objects at the time of creation, exposing sensitive credential information in application logs. An attacker with access to these logs can retrieve plaintext credentials used for service bindings.

MitigationUpgrade Cloud Foundry to version 239 or later to remediate. Additionally, audit existing logs for exposed credentials and rotate any credentials that may have been logged.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Cloud FoundryApplication
Affected:<= 238.0
Cloud Foundry Elastic RuntimeApplication
Affected:<= 1.6.32= 1.7.0= 1.7.1= 1.7.2= 1.7.3= 1.7.4= 1.7.5= 1.7.6= 1.7.7= 1.7.8= 1.7.9= 1.7.10

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Determine your Cloud Foundry version
    Use the cf CLI command 'cf curl /v2/info' or check your deployment manifest to identify the Cloud Foundry or Elastic Runtime version
    Affected if The version is 238.0 or lower, or matches any of these Elastic Runtime versions: 1.6.32, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4, 1.7.5, 1.7.6, 1.7.7, 1.7.8, 1.7.9, or 1.7.10
  2. Verify Cloud Controller is in use
    Confirm your Cloud Foundry deployment includes the Cloud Controller component by checking your deployment configuration or by querying the API endpoint
    Affected if Cloud Controller is present in the deployment
  3. Examine application logs for service binding credentials
    Retrieve application logs using 'cf logs <app_name> --recent' or access the log aggregation system (such as Loggregator) and search for service binding creation events
    Affected if Logs contain plaintext credentials, service keys, or sensitive service object properties that should not be visible
  4. Search logs for service object serialization patterns
    Search application and Cloud Controller logs for patterns indicating full service object dumps, particularly at the time of service binding creation
    Affected if Logs show serialized service objects or credential hashes in plain text during service binding operations

You are affected if your Cloud Foundry version falls within the affected ranges AND your application logs contain plaintext credentials from service bindings.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 238.0
Interim mitigation

Upgrade Cloud Foundry to version 239 or later to remediate. Additionally, audit existing logs for exposed credentials and rotate any credentials that may have been logged.

Recommended fix High confidence

Cloud Foundry >= 239; Elastic Runtime >= 1.6.33 or >= 1.7.3

  1. Upgrade Cloud Foundry CF deployment to version 239 or later
  2. For Cloud Foundry Elastic Runtime, upgrade to version 1.6.33 or later if on 1.6.x line
  3. For Cloud Foundry Elastic Runtime, upgrade to version 1.7.3 or later if on 1.7.x line
  4. Verify the upgrade by checking that the Cloud Controller no longer logs user-provided service credentials

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Cloud Foundry Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA3.0 h
21.0 hours of engineering $3,680
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,888.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2016-5006 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2016-5006 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data