🇰🇷 한글 설명
Symfony PHP 프레임워크의 SendmailTransport(-t 모드)에서 수신자 주소를 명령줄에 추가할 때 '--' 구분자를 사용하지 않는 취약점이 발견되었습니다. 이로 인해 '-'로 시작하는 이메일 주소가 sendmail 명령줄 옵션으로 오인되어 실행될 수 있습니다. 해당 문제는 5.4.52, 6.4.40, 7.4.12, 8.0.12 버전에서 수정되었습니다.
💡 쉬운 설명
이메일을 보낼 때 받는 사람의 주소를 명령어로 착각하게 만들어 시스템을 조작할 수 있는 보안 허점이 있습니다. 공격자가 이메일 주소 형식을 이용해 서버에 잘못된 명령을 내릴 위험이 있습니다.
🇺🇸 원문 (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, SendmailTransport in -t mode appended recipient addresses to the sendmail command line without a -- end-of-options separator, allowing an address beginning with - to be interpreted as a sendmail command-line option instead of an address. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
📍 영향받는 시스템
Symfony Framework versions prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12
⚔️ 공격 벡터
이메일 수신자 주소 필드에 '-'로 시작하는 특수 주소를 삽입하여 sendmail 명령줄 옵션 주입(Argument Injection)
🛡️ 대응 방법
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/symfony | grep 'versions'