🇰🇷 한글 설명
Node.JS용 콘텐츠 관리 시스템인 Keystone의 @keystone-6/auth 패키지 7.0.0 및 이전 버전에서 오픈 리다이렉트 취약점이 발견되었습니다. `/` 필터를 우회하여 사용자를 의도하지 않은 외부 도메인으로 리다이렉트할 수 있습니다. 이로 인해 피싱 공격 등에 악용될 위험이 있습니다.
💡 쉬운 설명
웹사이트가 사용자를 원래 가려던 곳이 아닌 공격자가 만든 가짜 사이트로 몰래 보낼 수 있는 결함입니다. 이를 통해 사용자는 안전한 사이트인 줄 알고 접속했다가 개인정보를 탈취당할 수 있습니다.
🇺🇸 원문 (English)
Keystone is a content management system for Node.JS. There is an open redirect in the `@keystone-6/auth` package versions 7.0.0 and prior, where the redirect leading `/` filter can be bypassed. Users may be redirected to domains other than the relative host, thereby it might be used by attackers to re-direct users to an unexpected location. To mitigate this issue, one may apply a patch from pull request 8626 or avoid using the `@keystone-6/auth` package.
📍 영향받는 시스템
@keystone-6/auth package version 7.0.0 and prior
⚔️ 공격 벡터
조작된 URL을 통해 리다이렉트 필터를 우회하여 외부 도메인으로 사용자 유도
🛡️ 대응 방법
Pull Request 8626의 패치를 적용하거나 @keystone-6/auth 패키지 사용을 지양함
🔧 검증 코드
출력된 버전이 7.0.0 이하인지 확인하여 취약 여부를 판단합니다.
npm list @keystone-6/auth