🇰🇷 한글 설명
Spring Boot Actuator를 사용하는 애플리케이션이 CloudFoundry Actuator 경로에서 인증이 필요한 엔드포인트를 선언할 때 인증 검증을 우회할 수 있는 취약점입니다. 공격자는 특정 경로를 통해 보호된 리소스에 인증 없이 접근할 수 있습니다.
💡 쉬운 설명
Spring Boot 웹 애플리케이션의 특정 설정에서 보안 인증이 제대로 작동하지 않는 문제입니다. 정상적으로는 막혀야 할 기능에 누구나 접근할 수 있게 됩니다.
🇺🇸 원문 (English)
Spring Boot applications with Actuator can be vulnerable to an "Authentication Bypass" vulnerability when an application endpoint that requires authentication is declared under the path used by the CloudFoundry Actuator endpoints. This issue affects Spring Security: from 4.0.0 through 4.0.3, from 3.5.0 through 3.5.11, from 3.4.0 through 3.4.14, from 3.3.0 through 3.3.17, from 2.7.0 through 2.7.31.
📍 영향받는 시스템
Spring Security 4.0.0-4.0.3, 3.5.0-3.5.11, 3.4.0-3.4.14, 3.3.0-3.3.17, 2.7.0-2.7.31
⚔️ 공격 벡터
CloudFoundry Actuator 엔드포인트 경로를 통한 인증 우회 후 보호된 리소스 접근
🛡️ 대응 방법
Spring Security를 최신 패치 버전으로 업그레이드 (4.0.4+, 3.5.12+, 3.4.15+, 3.3.18+, 2.7.32+)
🔧 검증 코드
명령어 결과에서 Spring Security 버전을 확인하여 위의 취약한 버전 범위에 속하면 업그레이드 필요
grep -r 'spring-security' pom.xml build.gradle 2>/dev/null | grep -oE 'version[>"]*[^<"]*' || echo 'Spring Security dependency not found'