🇰🇷 한글 설명
Nhost 0.48.0 미만 버전의 인증 서비스에서 OAuth 제공자 콜백 흐름 시 리프레시 토큰이 URL 쿼리 매개변수에 직접 노출되는 취약점이 발견되었습니다. 이로 인해 리프레시 토큰이 브라우저 기록, 서버 액세스 로그, HTTP Referer 헤더 및 프록시/CDN 로그에 기록될 수 있습니다. 해당 취약점은 0.48.0 버전에서 수정되었습니다.
💡 쉬운 설명
로그인 정보를 담은 중요한 열쇠(리프레시 토큰)가 인터넷 주소창에 그대로 노출되는 문제입니다. 이 열쇠가 기록에 남으면 해커가 이를 훔쳐서 사용자의 계정에 접근할 위험이 있습니다.
🇺🇸 원문 (English)
Nhost is an open source Firebase alternative with GraphQL. Prior to 0.48.0, the auth service's OAuth provider callback flow places the refresh token directly into the redirect URL as a query parameter. Refresh tokens in URLs are logged in browser history, server access logs, HTTP Referer headers, and proxy/CDN logs. Note that the refresh token is one-time use and all of these leak vectors are on owned infrastructure or services integrated by the application developer. This vulnerability is fixed in 0.48.0.
📍 영향받는 시스템
Nhost (0.48.0 미만 버전)
⚔️ 공격 벡터
로그 기록(브라우저 히스토리, 서버 로그, HTTP Referer 등)을 통한 리프레시 토큰 탈취
🛡️ 대응 방법
Nhost를 0.48.0 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 nhost의 버전이 0.48.0 미만인지 확인하십시오.
npm list nhost 2>/dev/null | grep -E 'nhost@'