🇰🇷 한글 설명
Flowise 3.1.4 이하 버전(SSO가 활성화된 Enterprise/platform 모드)에서 SSO 로그인 경로를 통한 인증 우회 취약점이 발견되었습니다. 초대 대기 중인 사용자의 이메일로 SSO 로그인을 시도할 경우, 서버가 자체 저장된 초대 토큰을 검증에 사용함으로써 초대 링크 없이도 해당 계정의 권한을 탈취할 수 있습니다.
💡 쉬운 설명
초대받은 사람의 이메일 주소만 알고 있다면, 실제 초대 메일에 포함된 비밀 코드가 없어도 해당 계정으로 로그인하여 조직에 침입할 수 있는 보안 결함입니다. 공격자는 이 취약점을 이용해 초대받은 사용자의 권한을 가로챌 수 있습니다.
🇺🇸 원문 (English)
Flowise through 3.1.4 (Enterprise/platform mode with SSO enabled) contains an authentication bypass in the SSO login path. When an SSO callback arrives with an email matching a user whose status is INVITED, verifyAndLogin (SSOBase.ts:80-94) copies the user record from the database — including the server-stored single-use invitation tempToken — into the data passed to AccountService.register(). The register handler's token lookup, email match, and expiry checks therefore pass trivially against the server's own token instead of a caller-supplied one, and the account and its organization membership are flipped to ACTIVE. As a result, anyone able to authenticate at any configured SSO provider using a pending invitee's email address as the email claim can take over that invitation and obtain the invited user's access to the organization without ever possessing the emailed invitation token, for as long as the invitation is valid (24 hours by default). At the time of the advisory no patched version was available.
📍 영향받는 시스템
Flowise 3.1.4 이하 버전 (Enterprise/platform mode with SSO enabled)
⚔️ 공격 벡터
설정된 SSO 제공업체를 통해 초대 대기 중인 사용자의 이메일 주소를 사용하여 인증 시도
🛡️ 대응 방법
해당 취약점이 해결된 패치 버전이 출시될 때까지 SSO를 통한 초대 프로세스를 점검하거나 보안 업데이트를 적용하십시오.
🔧 검증 코드
명령어 결과에 flowise 버전이 3.0.0에서 3.1.4 사이로 나타나면 취약한 버전이 설치된 것입니다.
npm list flowise | grep -E 'flowise@3\.[0-4]\.'