🇰🇷 한글 설명
오픈소스 ID 및 액세스 관리 솔루션인 Keycloak의 Admin REST API에서 결함이 발견되었습니다. 그룹 멤버십 엔드포인트에서 특정 그룹이 관리자 권한을 부여하는지 확인하는 과정이 누락되어, 권한이 제한된 위임된 관리자가 자신을 고권한 그룹에 추가할 수 있습니다. 이를 통해 공격자는 전체 영역(Realm)에 대한 완전한 제어권을 획득할 수 있습니다.
💡 쉬운 설명
권한이 적은 관리자가 시스템의 중요한 관리자 그룹에 스스로를 몰래 집어넣을 수 있는 보안 약점입니다. 이 문제가 악용되면 공격자가 시스템 전체를 마음대로 조종할 수 있게 됩니다.
🇺🇸 원문 (English)
A flaw was found in the Admin REST API of Keycloak, an open-source identity and access management solution. The issue occurs in the group-membership endpoints where the system fails to check if a group grants administrative privileges before allowing a user to be added. This allows a delegated administrator with limited permissions to add themselves to a high-privilege group, potentially gaining full control over the entire realm.
📍 영향받는 시스템
Keycloak Admin REST API (group-membership endpoints 사용 버전)
⚔️ 공격 벡터
제한된 권한을 가진 위임된 관리자가 API를 통해 자신을 고권한 그룹에 추가하는 방식
🛡️ 대응 방법
Keycloak을 최신 보안 패치가 적용된 버전으로 업데이트하고, 그룹 추가 시 권한 검증 로직을 강화해야 합니다.
🔧 검증 코드
API 호출 시 권한 검증 없이 그룹 멤버십 변경이 성공적으로 수행되는지 확인하여 취약 여부를 판단합니다.
curl -s -u admin:password https://<keycloak-host>/admin/realms/<realm-name>/groups/<group-id>/members | grep -q '"id"'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
💻 영향받는 소프트웨어
IBM Verify Identity Access