🇰🇷 한글 설명
Symfony 프레임워크의 UrlAttributeSanitizer 클래스에서 action, formaction, poster, cite와 같은 URL 기반 속성들을 제대로 검사하지 않는 취약점이 발견되었습니다. 이로 인해 javascript: URI가 필터링되지 않고 남게 되어, HTML 렌더링 시 또는 사용자가 버튼을 클릭할 때 XSS(교차 사이트 스크립팅) 공격이 발생할 수 있습니다.
💡 쉬운 설명
웹사이트를 만드는 도구인 Symfony에서 특정 링크 주소를 검사할 때 보안 검사를 빠뜨리는 실수가 있었습니다. 공격자가 이 틈을 타서 악성 스크립트를 심으면 사용자의 정보를 훔칠 수 있습니다.
🇺🇸 원문 (English)
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 6.1.0-BETA1 until 6.4.40, 7.4.12, and 8.0.12, UrlAttributeSanitizer::getSupportedAttributes() omits URL-valued attributes including action, formaction, poster, and cite, so configurations that admit those attributes can leave javascript: URIs unsanitized and enable XSS when the resulting HTML is rendered or a victim submits a form or clicks a button. This issue is fixed in versions 6.4.40, 7.4.12, and 8.0.12.
📍 영향받는 시스템
Symfony 6.1.0-BETA1 ~ 6.4.39, 7.4.11 이하, 8.0.11 이하
⚔️ 공격 벡터
검증되지 않은 javascript: URI가 포함된 HTML 속성을 통해 사용자 브라우저에서 악성 스크립트 실행
🛡️ 대응 방법
Symfony를 최신 보안 패치 버전(6.4.40, 7.4.12, 8.0.12 이상)으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 취약한 버전 범위에 포함되는지 확인하십시오.
composer show symfony/framework-bundle | grep 'versions'