🇰🇷 한글 설명
Frappe 프레임워크의 OAuth2 구현 과정에서 승인 및 권한 부여 기능에 보안 결함이 발견되었습니다. 공격자는 CSRF 토큰 부재와 요청 메서드 제한 미비, 클라이언트 스코프 검증 누락을 악용하여 인증된 사용자가 의도치 않은 OAuth 권한을 승인하게 하거나 잘못된 클라이언트에 권한을 재사용할 수 있습니다.
💡 쉬운 설명
사용자가 웹사이트에서 '로그인 허용' 버튼을 누를 때, 공격자가 이를 가로채거나 조작하여 사용자의 정보를 몰래 가져갈 수 있는 보안 구멍이 있습니다. 이로 인해 사용자가 모르는 사이에 권한이 다른 서비스로 넘어가 데이터가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
Frappe is a full-stack web application framework. Prior to 15.114.0 and 16.26.0, the approve and authorize functions in frappe/integrations/oauth2.py allow the OAuth2 consent flow to proceed without restricting approve to POST, without a csrf_token in frappe/templates/includes/oauth_confirmation.html, and without scoping an active OAuth token check to the requesting client. An attacker can cause an authenticated user to approve an OAuth grant or reuse authorization state for the wrong client, exposing data and permitting actions within the granted scopes. This issue is fixed in versions 15.114.0 and 16.26.0.
📍 영향받는 시스템
Frappe Framework versions prior to 15.114.0 and 16.26.0
⚔️ 공격 벡터
CSRF 공격 및 OAuth2 승인 흐름 조작을 통한 권한 탈취
🛡️ 대응 방법
Frappe 프레임워크를 15.114.0 또는 16.26.0 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 15.114.0 미만이거나 16.26.0 미만인 경우 취약한 상태입니다.
pip show frappe | grep Version