GHSA-cw9c-v3v2-99hm
Blind SQL Injection with privileged Cloud Foundry UAA endpoints
Quick fix
GHSA-cw9c-v3v2-99hm — org.cloudfoundry.identity:cloudfoundry-identity-server: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.7.4.15</version> for org.cloudfoundry.identity:cloudfoundry-identity-serverDetails
An issue was discovered in Cloud Foundry Foundation cf-release versions prior to v258; UAA release 2.x versions prior to v2.7.4.15, 3.6.x versions prior to v3.6.9, 3.9.x versions prior to v3.9.11, and other versions prior to v3.16.0; and UAA bosh release (uaa-release) 13.x versions prior to v13.13, 24.x versions prior to v24.8, and other versions prior to v30.1. An authorized user can use a blind SQL injection attack to query the contents of the UAA database, aka "Blind SQL Injection with privileged UAA endpoints."
Are you affected?
Enter the version of the package you're using.
Affected packages
2.0.0Fixed in: 2.7.4.15# pom.xml: bump <version>2.7.4.15</version> for org.cloudfoundry.identity:cloudfoundry-identity-server3.0.0Fixed in: 3.6.9# pom.xml: bump <version>3.6.9</version> for org.cloudfoundry.identity:cloudfoundry-identity-server3.7.0Fixed in: 3.9.11# pom.xml: bump <version>3.9.11</version> for org.cloudfoundry.identity:cloudfoundry-identity-server3.10.0Fixed in: 3.16.0# pom.xml: bump <version>3.16.0</version> for org.cloudfoundry.identity:cloudfoundry-identity-serverReferences
- https://nvd.nist.gov/vuln/detail/CVE-2017-4974[ADVISORY]
- https://github.com/cloudfoundry/uaa/commit/01edea6337c8ddb2ab80906aa1254d3c1dc02fb[WEB]
- https://github.com/cloudfoundry/uaa/commit/2dbeb9e93e076d71d7f0886dea9f77f23e0b8f3c[WEB]
- https://github.com/cloudfoundry/uaa/commit/5dc5ca9176ed5baa870680d99f37e7e559dddc5[WEB]
- https://github.com/cloudfoundry/uaa/commit/74b9b270787aa602196d59d58893c3a6e09816f9[WEB]
- https://github.com/cloudfoundry/uaa/commit/b6d6526cb89120043d390bf0274cd062e9fc452[WEB]
- https://github.com/cloudfoundry/uaa[PACKAGE]
- https://web.archive.org/web/20200227163823/http://www.securityfocus.com/bid/99254[WEB]
- https://www.cloudfoundry.org/cve-2017-4974[WEB]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:maven/org.cloudfoundry.identity/cloudfoundry-identity-server"]}'