🔍 CVE-2026-59335

8.7
CVSS Score
HIGH
2026-08-25
2026-09-28 23:10
✅ 완료

🇰🇷 한글 설명

Cloud Foundry UAA의 Identity Zone 엔드포인트에서 대소문자 구분 처리 미흡(CWE-178)으로 인해 권한 우회 취약점이 발생합니다. 공격자가 zone 식별자를 대문자로 요청할 경우, 인증 계층은 이를 시스템 존으로 인식하지 못하지만 MySQL 데이터베이스는 대소문자 구분 없이 처리하여 시스템 존의 JWT 서명 키를 탈취하거나 조작할 수 있습니다.

💡 쉬운 설명

시스템 관리자만 할 수 있는 중요한 설정을 일반 사용자가 대소문자를 섞어 쓰는 편법을 통해 몰래 바꿀 수 있는 보안 구멍입니다. 이를 통해 공격자는 관리자 권한을 가짜로 만들어내어 전체 시스템을 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

Improper handling of case sensitivity (CWE-178) in the identity zone authorization check in the Identity Zone Endpoint in Cloud Foundry UAA allows a remote authenticated attacker holding only the zones.write authority to bypass the intended restriction that this authority does not grant access to the privileged uaa (system) identity zone, by referring to the zone identifier in a non-lowercase form (e.g. UAA) in the request path and body. The authorization layer performs a case-sensitive comparison against the system zone identifier, while the underlying MySQL persistence layer resolves identifiers case-insensitively under its default collation, so the request is authorized incorrectly and is then resolved against the real system zone record. This allows the attacker to overwrite the system zone's JWT signing key with attacker-controlled key material, forge JWTs claiming the admin client and administrator scopes, and fully compromise UAA and any Cloud Foundry deployment that trusts it. This issue only affects UAA deployments backed by MySQL using its default collation; PostgreSQL and HSQLDB backends are not affected.

📍 영향받는 시스템

MySQL 기본 콜레이션을 사용하는 Cloud Foundry UAA (PostgreSQL 및 HSQLDB는 해당 없음)

⚔️ 공격 벡터

인증된 공격자가 요청 경로 및 본문에 'UAA'와 같이 대문자가 포함된 zone 식별자를 사용하여 시스템 존의 JWT 서명 키를 덮어씀

🛡️ 대응 방법

UAA를 최신 보안 패치 버전으로 업데이트하고, 데이터베이스 콜레이션 설정을 점검하거나 인증 로직의 대소문자 일치 여부를 확인해야 함

🔧 검증 코드

명령어 결과에 MySQL의 기본 대소문자 구분 없는(case-insensitive) 콜레이션이 포함되어 있다면 해당 취약점에 노출될 가능성이 있습니다.

Shell / Script
mysql -e 'SELECT collation_name FROM information_schema.COLLATIONS WHERE collation_name LIKE "utf8mb4_general_ci" OR collation_name LIKE "latin1_swedish_ci";' 2>/dev/null

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

💻 영향받는 소프트웨어

PostgreSQL