Lucene search

K
cloudfoundryCloud FoundryCFOUNDRY:8B6108CE0DF3786939E4D74F948789EA
HistoryApr 10, 2017 - 12:00 a.m.

CVE-2017-4970: Static file buildpack ignores basic authentication when misconfigured | Cloud Foundry

2017-04-1000:00:00
Cloud Foundry
www.cloudfoundry.org
24

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

40.4%

Severity

High

Vendor

Cloud Foundry Foundation

Versions Affected

  • cf-release v255
  • Staticfile buildpack versions v1.4.0 – v1.4.3

Description

A regression introduced in the Staticfile buildpack causes the Staticfile.auth configuration to be ignored when the Staticfile file is not present in the application root. Applications containing a Staticfile.auth file but not a Staticfile had their basic auth turned off when an operator upgraded the Staticfile buildpack in the foundation to one of the vulnerable versions. Note that Staticfile applications without a Staticfile are technically misconfigured, and will not successfully detect unless the Staticfile buildpack is explicitly specified.

Mitigation

OSS users are strongly encouraged to follow one of the mitigations below:

  • For existing deployments, upgrade the Staticfile Buildpack to v1.4.4 or later [1] and restage all applications that use the Staticfile Buildpack.
  • Upgrade to cf-release v256 [2] when available.

References

History

2017-04-10: Updated mitigation to apply to all apps using the Staticfile buildpack instead of just apps with detection

2017-04-10: Initial vulnerability report published

CVSS2

4.3

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

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

CVSS3

5.9

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

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

EPSS

0.001

Percentile

40.4%

Related for CFOUNDRY:8B6108CE0DF3786939E4D74F948789EA