🇰🇷 한글 설명
Spring Security에서 securityMatchers(String)와 PathPatternRequestMatcher.Builder 빈을 함께 사용할 때 발생하는 취약점입니다. 특정 요청이 필터 체인에 매칭되지 않아 인증 및 인가와 같은 보안 제어 기능이 의도한 대로 작동하지 않을 수 있습니다. 이로 인해 보안 통제가 비활성화될 위험이 있습니다.
💡 쉬운 설명
보안 설정이 특정 주소에 제대로 적용되지 않아, 로그인이 필요한 페이지가 아무런 보호 없이 노출될 수 있는 문제입니다. 공격자가 보안 검사를 우회하여 시스템에 접근할 가능성이 있습니다.
🇺🇸 원문 (English)
Vulnerability in Spring Spring Security. If an application is using securityMatchers(String) and a PathPatternRequestMatcher.Builder bean to prepend a servlet path, matching requests to that filter chain may fail and its related security components will not be exercised as intended by the application. This can lead to the authentication, authorization, and other security controls being rendered inactive on intended requests.This issue affects Spring Security: from 7.0.0 through 7.0.4.
📍 영향받는 시스템
Spring Security 7.0.0 ~ 7.0.4
⚔️ 공격 벡터
특정 경로 패턴을 이용해 보안 필터 체인을 우회하여 인증 및 인가 절차를 건너뛰는 방식
🛡️ 대응 방법
Spring Security를 7.0.4 이후의 최신 패치 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 spring-security-core의 버전이 7.0.4 이하인지 확인하십시오.
mvn dependency:list | grep spring-security-core