🇰🇷 한글 설명
오픈소스 ID 및 액세스 관리 솔루션인 Keycloak의 SAML 프로토콜 구현에서 결함이 발견되었습니다. HTTP-Redirect 바인딩을 사용하는 SAML 인증 요청 처리 시, 와일드카드 리다이렉트 URL이 설정된 클라이언트를 대상으로 공격자가 악성 파라미터를 포함한 요청을 생성할 수 있습니다. 이로 인해 서비스 제공자가 실제 로그인 정보 대신 공격자의 데이터를 처리하여 사용자가 잘못된 계정으로 로그인될 위험이 있습니다.
💡 쉬운 설명
로그인 과정에서 주소창에 가짜 정보를 섞어 보내는 방식으로 공격할 수 있는 보안 약점입니다. 이 공격을 받으면 사용자가 의도치 않게 다른 사람의 계정으로 접속될 수 있습니다.
🇺🇸 원문 (English)
A flaw was found in the SAML protocol implementation of Keycloak, an open-source identity and access management solution. The issue occurs when Keycloak handles SAML authentication requests using the HTTP-Redirect binding. If a client is configured with a wildcard redirect URL, an attacker can craft a request that includes malicious parameters. When a user authenticates, Keycloak appends its legitimate response to the attacker's parameters. This can cause some service providers to process the attacker's data instead of the real login information, potentially leading to a user being logged into the wrong account.
📍 영향받는 시스템
Keycloak (SAML HTTP-Redirect 바인딩 및 와일드카드 리다이렉트 URL 설정 사용 시)
⚔️ 공격 벡터
와일드카드 리다이렉트 URL 설정이 된 클라이언트를 대상으로 악성 파라미터가 포함된 SAML 인증 요청을 전송
🛡️ 대응 방법
Keycloak을 최신 보안 패치 버전으로 업데이트하고, 리다이렉트 URL 설정 시 와일드카드(*) 사용을 지양하고 명확한 URL을 지정하십시오.
🔧 검증 코드
Keycloak 서비스의 실행 여부와 SAML 관련 설정 노출 여부를 확인하여 현재 보안 설정 상태를 점검합니다.
curl -s http://localhost:8080/auth/realms/master/.well-known/openid-configuration | grep -i 'saml'
📊 CVSS Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:L/A:N
💻 영향받는 소프트웨어
IBM Verify Identity Access