🇰🇷 한글 설명
Python Social Auth의 LoginRadius 백엔드에서 OAuth 상태 검증이 누락되어 로그인 CSRF 취약점이 발생합니다. 공격자는 피해자의 브라우저 세션을 공격자가 제어하는 LoginRadius 토큰으로 인증시켜, 피해자가 공격자의 계정으로 로그인하게 만들 수 있습니다. 이 문제는 5.0.0 버전에서 콜백 상태 검증을 활성화하여 해결되었습니다.
💡 쉬운 설명
로그인 과정에서 본인 확인 절차가 부족하여, 공격자가 자신의 계정을 피해자의 브라우저에 강제로 연결할 수 있는 문제입니다. 이로 인해 피해자가 공격자의 계정으로 로그인된 상태에서 개인 정보를 입력하면 공격자에게 정보가 유출될 위험이 있습니다.
🇺🇸 원문 (English)
Python Social Auth is a social authentication/registration mechanism. Prior to version 5.0.0, the LoginRadius backend did not validate OAuth state during the authentication flow. Applications using this backend were vulnerable to login CSRF. An attacker could cause a victim's browser session to complete authentication using an attacker-controlled LoginRadius token, making the victim authenticated as the attacker's LoginRadius identity. The issue affects only applications using the LoginRadius backend. The issue has been fixe in version 5.0.0 by enabling callback state validation for the LoginRadius backend.
📍 영향받는 시스템
Python Social Auth 5.0.0 미만 버전 중 LoginRadius 백엔드를 사용하는 애플리케이션
⚔️ 공격 벡터
검증되지 않은 OAuth 상태를 이용한 로그인 CSRF 공격
🛡️ 대응 방법
Python Social Auth를 5.0.0 이상의 버전으로 업데이트
🔧 검증 코드
출력된 Version이 5.0.0 미만이면 취약한 상태이며, 5.0.0 이상이면 안전합니다.
pip show python-social-auth | grep Version