🇰🇷 한글 설명
Parse Server의 비밀번호 재설정 및 이메일 인증 재전송 엔드포인트에서 NoSQL 인젝션 취약점이 발견되었습니다. 인증되지 않은 공격자가 token 필드에 MongoDB 쿼리 연산자를 주입하여 인증 토큰을 탈취할 수 있습니다. 이로 인해 이메일 접근 권한 없이도 사용자의 이메일 주소를 인증하거나 계정 권한을 탈취할 위험이 있습니다.
💡 쉬운 설명
로그인 비밀번호를 찾거나 이메일 인증을 다시 요청할 때, 공격자가 특수한 명령어를 입력하여 시스템의 비밀 정보를 몰래 빼낼 수 있는 문제입니다. 이를 통해 공격자는 사용자의 이메일 인증을 가로채거나 계정을 탈취할 수 있습니다.
🇺🇸 원문 (English)
Parse Server is an open source backend that can be deployed to any infrastructure that can run Node.js. Prior to 8.6.14 and 9.5.2-alpha.1, NoSQL injection vulnerability allows an unauthenticated attacker to inject MongoDB query operators via the token field in the password reset and email verification resend endpoints. The token value is passed to database queries without type validation and can be used to extract password reset and email verification tokens. Any Parse Server deployment using MongoDB with email verification or password reset enabled is affected. When emailVerifyTokenReuseIfValid is configured, the email verification token can be fully extracted and used to verify a user's email address without inbox access. This vulnerability is fixed in 8.6.14 and 9.5.2-alpha.1.
📍 영향받는 시스템
Parse Server 8.6.14 미만 및 9.5.2-alpha.1 미만 버전 (MongoDB 사용 시)
⚔️ 공격 벡터
비인증 공격자가 비밀번호 재설정/이메일 인증 재전송 API의 token 필드에 NoSQL 쿼리 연산자 주입
🛡️ 대응 방법
Parse Server를 8.6.14 또는 9.5.2-alpha.1 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 parse-server의 버전이 8.6.14 또는 9.5.2-alpha.1보다 낮은지 확인하십시오.