🇰🇷 한글 설명
오픈 소스 ID 관리 시스템인 Zitadel에서 쿠키가 서브도메인에서 접근 가능한 취약점이 발견되었습니다. 공격자가 서브도메인에 XSS 취약점이 있거나 DNS를 제어할 수 있는 경우, 악성 링크를 통해 사용자의 계정 권한을 탈취할 수 있습니다.
💡 쉬운 설명
Zitadel의 로그인 정보가 담긴 쿠키가 연결된 다른 하위 사이트에서도 보일 수 있는 문제입니다. 해커가 하위 사이트를 해킹했다면, 사용자가 악성 링크를 클릭했을 때 사용자의 계정을 훔칠 수 있습니다.
🇺🇸 원문 (English)
Zitadel is an open source identity management system. Zitadel uses a cookie to identify the user agent (browser) and its user sessions. Although the cookie was handled according to best practices, it was accessible on subdomains of the ZITADEL instance. An attacker could take advantage of this and provide a malicious link hosted on the subdomain to the user to gain access to the victim’s account in certain scenarios. A possible victim would need to login through the malicious link for this exploit to work. If the possible victim already had the cookie present, the attack would not succeed. The attack would further only be possible if there was an initial vulnerability on the subdomain. This could either be the attacker being able to control DNS or a XSS vulnerability in an application hosted on a subdomain. Versions 2.46.0, 2.45.1, and 2.44.3 have been patched. Zitadel recommends upgrading to the latest versions available in due course. Note that applying the patch will invalidate the current cookie and thus users will need to start a new session and existing sessions (user selection) will be empty. For self-hosted environments unable to upgrade to a patched version, prevent setting the following cookie name on subdomains of your Zitadel instance (e.g. within your WAF): `__Secure-zitadel-useragent`.
📍 영향받는 시스템
Zitadel versions prior to 2.46.0, 2.45.1, and 2.44.3
⚔️ 공격 벡터
서브도메인의 XSS 취약점 또는 DNS 제어를 이용한 쿠키 탈취 및 세션 하이재킹
🛡️ 대응 방법
최신 패치 버전으로 업데이트하거나, WAF를 통해 '__Secure-zitadel-useragent' 쿠키가 서브도메인에 설정되지 않도록 차단
🔧 검증 코드
Zitadel 인스턴스의 버전 정보를 확인하여 패치된 버전(2.46.0, 2.45.1, 2.44.3 이상)인지 확인합니다.
curl -s http://<zitadel-instance>/health | grep -i 'version' || echo 'Manual version check required'