🇰🇷 한글 설명
Symfony PHP 프레임워크의 X509Authenticator 구성 요소에서 정규 표현식 처리 오류가 발견되었습니다. 공격자가 인증서의 특정 필드에 특정 문자열을 포함시킴으로써 다른 사용자로 위장하여 인증을 우회할 수 있습니다.
💡 쉬운 설명
인증서 정보를 읽어올 때 검사 규칙이 허술하여, 가짜 정보를 섞어 넣으면 다른 사람의 계정으로 로그인할 수 있는 보안 결함입니다. 인증서 내의 특정 문구를 잘못 인식하여 발생하는 문제입니다.
🇺🇸 원문 (English)
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, X509Authenticator extracts the user identifier from $_SERVER['SSL_CLIENT_S_DN'] with an unanchored regex that matches emailAddress= anywhere in the distinguished name, allowing an attacker with a trusted certificate containing emailAddress=victim inside another RDN value such as CN to authenticate as the victim. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
📍 영향받는 시스템
Symfony versions prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12
⚔️ 공격 벡터
신뢰된 인증서의 RDN 값(예: CN) 내에 'emailAddress=victim' 문자열을 삽입하여 사용자 식별자를 조작함
🛡️ 대응 방법
Symfony 프레임워크를 최신 보안 패치 버전(5.4.52, 6.4.40, 7.4.12, 8.0.12 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전이 취약점이 해결된 버전(5.4.52, 6.4.40, 7.4.12, 8.0.12 이상)인지 확인하십시오.
composer show symfony/framework | grep 'versions'