🔍 CVE-2022-31692

9.8
CVSS Score
CRITICAL
2022-10-31
2026-06-17 04:46
✅ 완료

🇰🇷 한글 설명

Spring Security 5.7.5 미만 및 5.6.9 미만 버전에서 forward 또는 include 디스패처 타입을 통해 권한 부여 규칙을 우회할 수 있는 취약점이 발견되었습니다. 특정 설정 조건이 충족될 경우, 공격자가 보안이 적용된 엔드포인트로 요청을 전달하여 인증을 통과할 수 있습니다.

💡 쉬운 설명

웹사이트의 보안 검사관이 특정 경로로 전달되는 요청을 제대로 확인하지 못해 발생하는 문제입니다. 이를 통해 공격자는 원래 접근할 수 없는 중요한 페이지에 몰래 들어갈 수 있습니다.

🇺🇸 원문 (English)

Spring Security, versions 5.7 prior to 5.7.5 and 5.6 prior to 5.6.9 could be susceptible to authorization rules bypass via forward or include dispatcher types. Specifically, an application is vulnerable when all of the following are true: The application expects that Spring Security applies security to forward and include dispatcher types. The application uses the AuthorizationFilter either manually or via the authorizeHttpRequests() method. The application configures the FilterChainProxy to apply to forward and/or include requests (e.g. spring.security.filter.dispatcher-types = request, error, async, forward, include). The application may forward or include the request to a higher privilege-secured endpoint.The application configures Spring Security to apply to every dispatcher type via authorizeHttpRequests().shouldFilterAllDispatcherTypes(true)

📍 영향받는 시스템

Spring Security 5.7.x (5.7.5 미만), 5.6.x (5.6.9 미만)

⚔️ 공격 벡터

forward 또는 include 디스패처 타입을 이용한 권한 우회 공격

🛡️ 대응 방법

Spring Security를 최신 보안 패치 버전(5.7.5 이상 또는 5.6.9 이상)으로 업데이트하십시오.

🔧 검증 코드

명령어 결과에 취약한 버전 범위의 spring-security-core가 나타나면 해당 시스템은 취약합니다.

Shell / Script
mvn dependency:tree | grep -E 'spring-security-core:[5\.(6|7)\.(0-4)]'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Spring Security