Cf ReleaseApplication · Cloudfoundry

CVE-2016-0708

MEDIUM · 5.9 CVSS v3.0 Published 2018-07-11
Fix available
A fix is available. Upgrade to after 227 or later.
See remediation →
68/100
Remediation priority · Elevated
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
Applications deployed to Cloud Foundry, versions v166 through v227, may be vulnerable to a remote disclosure of information, including, but not limited to environment variables and bound service details. For applications to be vulnerable, they must have been staged using automatic buildpack detection, passed through the Java Buildpack detection script, and allow the serving of static content from within the deployed artifact. The default Apache Tomcat configuration in the affected java buildpack versions for some basic web application archive (WAR) packaged applications are vulnerable to this issue.

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

Cloud Foundry versions v166-v227 contain a vulnerable default Apache Tomcat configuration in the Java buildpack that allows served static content from within WAR artifacts to expose sensitive environment variables and bound service credentials (including database passwords, API keys, etc.). The vulnerability requires automatic buildpack detection and static content serving enabled.

MitigationUpgrade Cloud Foundry deployment to a version beyond v227, or reconfigure the Java buildpack's Tomcat configuration to prevent serving of sensitive static content from within deployed WAR files.

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
Cf ReleaseApplication
Affected:>= 166, <= 227
Java BuildpackApplication
Affected:>= 2.0, <= 3.4

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
High
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

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

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. Identify Cloud Foundry release version
    Run 'cf --version' or query the Cloud Foundry API at /v2/info to retrieve the 'cc_build_revision' or 'version' field that indicates the CF release number
    Affected if The CF release version is greater than or equal to 166 and less than or equal to 227
  2. Identify Java Buildpack version
    Check the deployed Java buildpack version by examining the buildpack files in the CF environment or running 'cf buildpacks' to list available buildpacks and their versions
    Affected if The Java Buildpack version is greater than or equal to 2.0 and less than or equal to 3.4
  3. Confirm automatic buildpack detection is enabled
    Verify that the application is deployed using automatic buildpack detection (the default behavior) rather than explicitly specifying a buildpack with 'cf push -b'
    Affected if The application uses automatic buildpack detection, which is the default when no -b flag is specified
  4. Check for static content served from WAR artifacts
    Inspect deployed WAR files in the application container or examine the Tomcat server.xml configuration within the Java buildpack to confirm that serving static content from within WAR files is enabled (the default configuration)
    Affected if Static content serving from within deployed WAR files is enabled in the Tomcat configuration

You are affected if your Cloud Foundry deployment is between versions 166-227, uses Java Buildpack versions 2.0-3.4, relies on automatic buildpack detection, and has default Tomcat configuration that serves static content from WAR files.

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.

From vendor data
Upgrade available Upgrade to a release after 227
Interim mitigation

Upgrade Cloud Foundry deployment to a version beyond v227, or reconfigure the Java buildpack's Tomcat configuration to prevent serving of sensitive static content from within deployed WAR files.

Fix this in Cf Release Scoped from the published advisory
  • Consultation4.0 h
  • Implementation8.0 h
  • Testing6.0 h
  • Review / QA2.0 h
20.0 hours of engineering $3,500
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,600.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2016-0708 — 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-0708 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