🇰🇷 한글 설명
Symfony의 HttpFoundation 구성 요소 내 Request 클래스에서 PATH_INFO를 부적절하게 해석하여 URL 경로가 '/'로 시작하지 않는 문제가 발생합니다. 이로 인해 '/' 접두사를 기반으로 설계된 일부 접근 제어 규칙을 우회할 수 있는 보안 취약점이 존재합니다.
💡 쉬운 설명
웹사이트 주소의 시작 부분인 '/'를 교묘하게 생략하여 보안 검사를 통과하는 공격이 가능합니다. 이를 통해 원래는 접근할 수 없는 페이지에 몰래 들어갈 수 있습니다.
🇺🇸 원문 (English)
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Symfony's HttpFoundation component defines an object-oriented layer for the HTTP specification. Starting in version 2.0.0 and prior to version 5.4.50, 6.4.29, and 7.3.7, the `Request` class improperly interprets some `PATH_INFO` in a way that leads to representing some URLs with a path that doesn't start with a `/`. This can allow bypassing some access control rules that are built with this `/`-prefix assumption. Starting in versions 5.4.50, 6.4.29, and 7.3.7, the `Request` class now ensures that URL paths always start with a `/`.
📍 영향받는 시스템
Symfony 2.0.0 이상 ~ 5.4.50 미만, 6.4.29 미만, 7.3.7 미만 버전
⚔️ 공격 벡터
PATH_INFO 조작을 통한 URL 경로의 '/' 접두사 누락 및 접근 제어 우회
🛡️ 대응 방법
Symfony를 최신 패치 버전(5.4.50, 6.4.29, 7.3.7 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 취약 버전 범위(5.4.50, 6.4.29, 7.3.7 미만)에 해당하는지 확인하십시오.
composer show symfony/http-foundation | grep 'versions'