🇰🇷 한글 설명
Flowise 3.1.3 미만 버전에서 OAuth2 토큰 갱신 엔드포인트가 인증 없이 접근 가능하며 SSRF 보호 조치가 결여되어 있습니다. 공격자는 이를 통해 서버 측 HTTP 요청을 유도하여 클라이언트 ID, 비밀번호, 리프레시 토큰 등 민감한 정보를 탈취할 수 있습니다.
💡 쉬운 설명
로그인 과정이 필요한 기능이 아무런 인증 없이 열려 있어, 해커가 서버를 조종해 중요한 비밀번호와 토큰 정보를 몰래 빼갈 수 있는 보안 취약점입니다. 이로 인해 사용자의 계정 권한이 통째로 넘어갈 위험이 있습니다.
🇺🇸 원문 (English)
Flowise is a drag & drop user interface to build a customized large language model flow. Prior to 3.1.3, the OAuth2 token refresh endpoint POST /api/v1/oauth2-credential/refresh/:credentialId is unauthenticated by design and performs a server-side HTTP request to the credential-controlled accessTokenUrl without SSRF protections. Runtime validation confirmed that the endpoint was reachable without authentication, triggered outbound POST requests to an attacker-controlled server, reflected the full remote response body to the caller through tokenInfo, and sent client_id, client_secret, grant_type=refresh_token, and refresh_token in the request body. This issue is fixed in version 3.1.3.
📍 영향받는 시스템
Flowise version < 3.1.3
⚔️ 공격 벡터
인증되지 않은 POST /api/v1/oauth2-credential/refresh/:credentialId 엔드포인트를 통한 SSRF 및 정보 유출
🛡️ 대응 방법
Flowise를 최신 보안 패치가 적용된 버전 3.1.3 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 3.1.3 미만(예: 3.1.2 이하 또는 2.x 버전)이면 취약한 상태입니다.
npm list flowise | grep -E 'flowise@([0-2]\.|3\.[0-2]\.)'