CVE-2017-8031 Cloud Foundry UAA Denial of Service through client token revocation endpoint

Medium 5.3 Published Updated

Authenticated users can revoke other users' tokens in Cloud Foundry UAA under specific token configurations, causing denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2017-8031?

CVE-2017-8031 is a medium-severity missing authorization vulnerability in cf-release and UAA cf-release: All versions prior to v279, UAA: 30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1, published on 27 Nov 2017. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An issue was discovered in Cloud Foundry Foundation cf-release (all versions prior to v279) and UAA (30.x versions prior to 30.6, 45.x versions prior to 45.4, 52.x versions prior to 52.1). In some cases, the UAA allows an authenticated user for a particular client to revoke client tokens for other users on the same client. This occurs only if the client is using opaque tokens or JWT tokens validated using the check_token endpoint. A malicious actor could cause denial of service.

Which versions are affected by CVE-2017-8031?

6 open source packages ship an affected version, including org.cloudfoundry.identity:cloudfoundry-identity-server. It affects 2 products.

PackageAffectedFixed in
org.cloudfoundry.identity:cloudfoundry-identity-server MavenAll versions3.20.1
org.cloudfoundry.identity:cloudfoundry-identity-server MavenAll versions3.20.1
org.cloudfoundry.identity:cloudfoundry-identity-server MavenFrom 4.0.04.5.3
org.cloudfoundry.identity:cloudfoundry-identity-server MavenFrom 4.0.04.5.3
org.cloudfoundry.identity:cloudfoundry-identity-server MavenFrom 4.6.04.7.1
org.cloudfoundry.identity:cloudfoundry-identity-server MavenFrom 4.6.04.7.1

Products include Cloudfoundry Cf-Release, Cloudfoundry Uaa-Release.

How do I fix CVE-2017-8031?

Upgrade org.cloudfoundry.identity:cloudfoundry-identity-server to a fixed version for your release line: 3.20.1, 4.5.3 or 4.7.1.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2017-8031 being exploited?

There is no known exploitation of CVE-2017-8031 in the wild and no public exploit code.

Sources

Also known as GHSA-j4p3-2m2h-cv5f.

Is CVE-2017-8031 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free