GHSA-cgrg-x34r-78f3 CVE-2017-4991
Cloud Foundry UAA password reset vulnerability
- Severity
- 7.2 / 10
- High · CVSS 3.0
- Exploit chance (EPSS)
- 0.94%
- Chance of exploitation in the next 30 days. Higher than 60.84% of scored vulnerabilities.
- Known exploited
- No
- Not in CISA's catalog
- Weakness
- CWE-269 Improper Privilege Management
- Fix
2.7.4.16- Upgrade org.cloudfoundry.identity:cloudfoundry-identity-server to this version or later
Description
An issue was discovered in Cloud Foundry Foundation cf-release versions prior to v260; UAA release 2.x versions prior to v2.7.4.16, 3.6.x versions prior to v3.6.10, 3.9.x versions prior to v3.9.12, and other versions prior to v3.17.0; and UAA bosh release (uaa-release) 13.x versions prior to v13.14, 24.x versions prior to v24.9, 30.x versions prior to 30.2, and other versions prior to v36. Privileged users in one zone are allowed to perform a password reset for users in a different zone.
Affected versions
Maven
| Package | Vulnerable | Fixed in |
|---|---|---|
| org.cloudfoundry.identity:cloudfoundry-identity-server | >= 2.0.0, < 2.7.4.16 |
2.7.4.16 |
| org.cloudfoundry.identity:cloudfoundry-identity-server | >= 3.0.0, < 3.6.10 |
3.6.10 |
| org.cloudfoundry.identity:cloudfoundry-identity-server | >= 3.7.0, < 3.9.12 |
3.9.12 |
| org.cloudfoundry.identity:cloudfoundry-identity-server | >= 3.10.0, < 3.17.0 |
3.17.0 |
How to fix
Move to the fixed version or later with your package manager, update the lockfile, and run your tests. If the package only arrives through another dependency, upgrade that dependency first. If none of its releases pulls a fixed version yet, force the version with your package manager's override.
org.cloudfoundry.identity:cloudfoundry-identity-server Maven → 2.7.4.16
- maven
<dependency><groupId>org.cloudfoundry.identity</groupId><artifactId>cloudfoundry-identity-server</artifactId><version>2.7.4.16</version></dependency>- gradle
implementation("org.cloudfoundry.identity:cloudfoundry-identity-server:2.7.4.16")
Severity breakdown
CVSS 3.0 7.2
CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Weakness
CWE-269: Improper Privilege Management
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control for that actor.
How to prevent it
- Architecture and Design, Operation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
- Architecture and Design: Follow the principle of least privilege when assigning access rights to entities in a software system.
- Architecture and Design: Consider following the principle of separation of privilege. Require multiple conditions to be met before permitting access to a system resource.
References
Advisories
Packages
Other links
- github.com/cloudfoundry/uaa/commit/2ca35f1723e039aa7d2318134b05d02e40072a18
- github.com/cloudfoundry/uaa/commit/ba23bcf109704ab2eae519b705d7b2a75e023553
- github.com/cloudfoundry/uaa/commit/bbf6751bc0d87c4a3aaf21b54e26ce328ab998b3
- github.com/cloudfoundry/uaa/commit/eb3f86054489039e11eabd54a8ec9a46c22abfc8
- cloudfoundry.org/cve-2017-4991
Timeline
- Published
- Last updated by the source
- Latest EPSS score
Related advisories
| Advisory | Severity | Why it's related |
|---|---|---|
| GHSA-6wcw-r64p-qrrw Cloudfoundry UAA has logic error in the token revocation endpoint implementation | Medium | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-xg5v-696h-c3vr Cloud Foundry UAA SessionID present in Audit Event Logs | High | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-xh4m-99qp-w483 Cloud Foundry UAA open redirect | Medium | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-rc2r-w8jv-vggp Cloud Foundry vulnerable to Improper Certificate Validation | Medium | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-r4v8-9hgx-vm6m Cloud Foundry UAA accepts refresh token as access token on admin endpoints | High | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-292x-hjr8-226f Cloud Foundry UAA Privilege Escalation | High | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-j97q-9xp9-g5fx Pivotal Cloud Foundry UAA XSS on UAA OpenID Connect check session iframe endpoint | Medium | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
| GHSA-j4p3-2m2h-cv5f Cloud Foundry UAA Denial of Service through client token revocation endpoint | Medium | Also affects org.cloudfoundry.identity:cloudfoundry-identity-server |
MergeHarbor checks every repository's dependencies against this database, ranks what matters by exploitability and reachability, routes it to the owning team and opens the fix pull request.
Check your repos with MergeHarbor