CVE-2018-11047: Cloudfoundry identity server Cloud Foundry UAA Accepts Refresh Vulnerability
HIGHCVE-2018-11047 is a HIGH (CVSS 7.5) cloud foundry uaa accepts refresh vulnerability (CWE-863: Incorrect Authorization) affecting Cloudfoundry identity server libraries in the Maven ecosystem. The issue involves cloud foundry uaa accepts refresh token as access token on admin endpoints. Remediation is available by upgrading affected packages to version 4.5.7, 4.7.6, 4.10.2, 4.12.4, 4.19.2.
CVE-2018-11047 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2018-11047
To remediate this vulnerability, upgrade all affected Cloudfoundry identity server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>4.5.7</version>
</dependency>
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>4.7.6</version>
</dependency>
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>4.10.2</version>
</dependency>
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>4.12.4</version>
</dependency>
<dependency>
<groupId>org.cloudfoundry.identity</groupId>
<artifactId>cloudfoundry-identity-server</artifactId>
<version>4.19.2</version>
</dependency>
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
mvn dependency:tree -Dincludes=org.cloudfoundry.identity
How to Check if You Are Affected
To determine whether your Java application is affected by CVE-2018-11047, inspect your build dependencies using the Maven Dependency Plugin:
mvn dependency:tree -Dincludes=org.cloudfoundry.identity
Analyze the terminal output to locate any version of Cloudfoundry identity server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.5.7), your application is affected.
Note: The mvn dependency:tree -Dincludes=org.cloudfoundry.identity command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-863: Incorrect Authorization, where the product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. In Cloudfoundry identity server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2018-11047 Affected Cloudfoundry identity server Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
< 4.5.7
|
4.5.7
|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 4.6.0
< 4.7.6
|
4.7.6
|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 4.8.0
< 4.10.2
|
4.10.2
|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 4.11.0
< 4.12.4
|
4.12.4
|
|
org.cloudfoundry.identity:cloudfoundry-identity-server
|
Maven |
≥ 4.13.0
< 4.19.2
|
4.19.2
|
References
Frequently Asked Questions
What is CVE-2018-11047?
Which Cloudfoundry identity server versions are affected?
What version fixes CVE-2018-11047?
Is cloudfoundry-identity-server affected?
What is the CVSS score of CVE-2018-11047?
What CWE is associated with CVE-2018-11047?
How can I check Maven dependencies for CVE-2018-11047?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-r4v8-9hgx-vm6m",
"modified" : "2024-03-01T23:43:03Z",
"published" : "2022-05-13T01:49:00Z",
"aliases" : [ "CVE-2018-11047" ],
"summary" : "Cloud Foundry UAA accepts refresh token as access token on admin endpoints",
"details" : "Cloud Foundry UAA, versions 4.19 prior to 4.19.2 and 4.12 prior to 4.12.4 and 4.10 prior to 4.10.2 and 4.7 prior to 4.7.6 and 4.5 prior to 4.5.7, incorrectly authorizes requests to admin endpoints by accepting a valid refresh token in lieu of an access token. Refresh tokens by design have a longer expiration time than access tokens, allowing the possessor of a refresh token to authenticate longer than expected. This affects the administrative endpoints of the UAA. i.e. /Users, /Groups, etc. However, if the user has been deleted or had groups removed, or the client was deleted, the refresh token will no longer be valid.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.5.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.0"
}, {
"fixed" : "4.7.6"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.10.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.11.0"
}, {
"fixed" : "4.12.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Maven",
"name" : "org.cloudfoundry.identity:cloudfoundry-identity-server"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.13.0"
}, {
"fixed" : "4.19.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-11047"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/0cd3c6fdd96206a1d6a376ac62e21e59e16cdcb1"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/2906057dae995024576ce6afdc20abd85569514"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/4cb1be404cf4a82e39cf2a6357aa17af8b33f2a1"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/4fa3e351ec0bface3b693810605905e29a9a8569"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/5d021e83ef143c64179d0da015aa76321ee40988"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/81aeb7a3aa048ea086c494f725d643e48dd9266"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/a1d523c7f150e56bf06df8b83ed1d416d6c1d3b"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/aba1fb5f18e0d628628b2d960fc6d0cc62d86f5"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/b37552d2bf084de059bc965b5ef5a45e64883904"
}, {
"type" : "WEB",
"url" : "https://github.com/cloudfoundry/uaa/commit/bbbba5aec514ad88e7d1e168a2519c80229f02f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/cloudfoundry/uaa"
}, {
"type" : "WEB",
"url" : "https://www.cloudfoundry.org/blog/cve-2018-11047"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-863" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-01T23:43:02Z",
"nvd_published_at" : "2018-07-24T19:29:00Z"
}
}