Blind SQL Injection with privileged Cloud Foundry UAA endpoints

Description

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."

Basic information

Type
reviewed
Severity
medium
Advisory on GitHub
Open advisory ↗
Repository advisory
Source code
Browse source ↗
Published (advisory)
2022-05-13 01:07:26 UTC
Updated
2024-03-01 20:12:05 UTC
GitHub reviewed
2024-03-01 20:12:04 UTC
NVD published
2017-06-13

EPSS Score

Score Percentile
0.31% 53.89%

CVSS Scores

Base score Version Severity Vector
6.5 3.0
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.

Identifiers

CWEs

CWE id Name
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Credits

  • sunSUNQ (analyst)

Affected packages (4)

Vulnerable version ranges and first patched releases as published by GitHub.

Ecosystem Package Vulnerable range First patched Vulnerable functions
maven org.cloudfoundry.identity:cloudfoundry-identity-server >= 2.0.0, < 2.7.4.15 2.7.4.15
maven org.cloudfoundry.identity:cloudfoundry-identity-server >= 3.0.0, < 3.6.9 3.6.9
maven org.cloudfoundry.identity:cloudfoundry-identity-server >= 3.7.0, < 3.9.11 3.9.11
maven org.cloudfoundry.identity:cloudfoundry-identity-server >= 3.10.0, < 3.16.0 3.16.0

References

cvelogic Threat Intelligence