🇰🇷 한글 설명
Spring Security의 특정 버전에서 권한 상승 취약점이 발견되었습니다. 공격자가 클라이언트가 권한 서버로 보내는 요청을 조작할 경우, OAuth2 액세스 토큰 응답의 scope 리스트가 비어 있는 상황을 악용하여 권한을 상승시킬 수 있습니다.
💡 쉬운 설명
해커가 사용자의 요청을 중간에서 가로채어 내용을 바꿈으로써, 원래 허용된 권한보다 더 높은 권한을 얻어낼 수 있는 보안 약점입니다. 특히 권한 목록이 비어 있는 특수한 상황에서 이 문제가 발생합니다.
🇺🇸 원문 (English)
Spring Security, versions 5.7 prior to 5.7.5, and 5.6 prior to 5.6.9, and older unsupported versions could be susceptible to a privilege escalation under certain conditions. A malicious user or attacker can modify a request initiated by the Client (via the browser) to the Authorization Server which can lead to a privilege escalation on the subsequent approval. This scenario can happen if the Authorization Server responds with an OAuth2 Access Token Response containing an empty scope list (per RFC 6749, Section 5.1) on the subsequent request to the token endpoint to obtain the access token.
📍 영향받는 시스템
Spring Security 5.7.5 미만 버전, 5.6.9 미만 버전 및 이전 지원 종료 버전
⚔️ 공격 벡터
클라이언트가 권한 서버로 보내는 OAuth2 요청을 조작하여 권한 상승 유도
🛡️ 대응 방법
Spring Security를 5.7.5 또는 5.6.9 이상의 최신 보안 패치 버전으로 업데이트
🔧 검증 코드
출력된 spring-security의 버전이 5.7.5 또는 5.6.9보다 낮은지 확인
mvn dependency:list | grep spring-security