🔍 CVE-2023-20903

4.3
CVSS Score
MEDIUM
2023-03-28
2026-06-17 05:31
✅ 완료

🇰🇷 한글 설명

외부 ID 제공업체(IdP)가 UAA에서 비활성화되어도, 해당 IdP를 통해 이미 발급된 리프레시 토큰이 여전히 유효하여 액세스 토큰을 계속 발급할 수 있는 취약점입니다. 이로 인해 관리자가 계정 권한을 차단했음에도 불구하고 클라이언트는 리프레시 토큰 만료 시까지 Cloud Foundry 리소스에 계속 접근할 수 있습니다.

💡 쉬운 설명

사용자 인증을 담당하는 외부 서비스가 차단되어도, 이미 발급받은 '재발급용 티켓'이 계속 작동하여 보안 통제를 우회하는 문제입니다. 결과적으로 권한이 회수된 사용자가 최대 30일 동안 시스템에 계속 머물 수 있습니다.

🇺🇸 원문 (English)

This disclosure regards a vulnerability related to UAA refresh tokens and external identity providers.Assuming that an external identity provider is linked to the UAA, a refresh token is issued to a client on behalf of a user from that identity provider, the administrator of the UAA deactivates the identity provider from the UAA. It is expected that the UAA would reject a refresh token during a refresh token grant, but it does not (hence the vulnerability). It will continue to issue access tokens to request presenting such refresh tokens, as if the identity provider was still active. As a result, clients with refresh tokens issued through the deactivated identity provider would still have access to Cloud Foundry resources until their refresh token expires (which defaults to 30 days).

📍 영향받는 시스템

Cloud Foundry UAA (User Account and Authentication) with external identity providers

⚔️ 공격 벡터

비활성화된 외부 IdP를 통해 발급받은 기존 리프레시 토큰을 사용하여 액세스 토큰을 지속적으로 요청

🛡️ 대응 방법

UAA를 최신 보안 패치가 적용된 버전으로 업데이트하여 IdP 비활성화 시 리프레시 토큰이 즉시 거부되도록 수정

🔧 검증 코드

설치된 UAA 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 보안 권고문을 통해 대조

Shell / Script
uaa-cli --version 2>/dev/null || uaa --version 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

IBM Verify Identity Access