🇰🇷 한글 설명
Symfony PHP 프레임워크의 DefaultAuthenticationFailureHandler에서 failure_forward 설정이 활성화된 경우, 요청에 포함된 _failure_path 파라미터를 신뢰하여 발생하는 취약점입니다. 인증되지 않은 사용자가 로그인 실패 시 특정 GET 경로로 서브요청을 보내 보안 제어를 우회할 수 있습니다.
💡 쉬운 설명
로그인에 실패했을 때 이동할 페이지를 공격자가 마음대로 지정할 수 있는 결함입니다. 이를 통해 원래는 접근할 수 없는 보호된 페이지를 몰래 훔쳐볼 수 있습니다.
🇺🇸 원문 (English)
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.53, 6.4.41, 7.4.13, and 8.0.13, DefaultAuthenticationFailureHandler honored the request-supplied _failure_path parameter when failure_forward: true was enabled, allowing an unauthenticated failing login request to dispatch a subrequest to access_control-protected GET routes that skipped firewall listeners. This issue is fixed in versions 5.4.53, 6.4.41, 7.4.13, and 8.0.13.
📍 영향받는 시스템
Symfony versions prior to 5.4.53, 6.4.41, 7.4.13, and 8.0.13
⚔️ 공격 벡터
인증되지 않은 사용자가 로그인 요청 시 조작된 _failure_path 파라미터를 전송하여 보호된 경로로 서브요청 유도
🛡️ 대응 방법
Symfony 프레임워크를 최신 보안 패치 버전(5.4.53, 6.4.41, 7.4.13, 8.0.13 이상)으로 업데이트
🔧 검증 코드
출력된 버전이 취약점이 해결된 버전(5.4.53, 6.4.41, 7.4.13, 8.0.13 이상)인지 확인
composer show symfony/framework-bundle | grep 'versions'