🇰🇷 한글 설명
Concrete CMS 9.5.3 미만 버전의 SVG 파일 처리 과정에서 저장형 XSS 취약점이 발견되었습니다. SVG 파일 검사 설정이 특정 모드로 구성될 경우, 보안 필터링이 불충분하여 xlink:href 내의 javascript: URI와 같은 악성 스크립트가 제거되지 않고 저장될 수 있습니다. 이를 통해 공격자는 파일을 열람하는 사용자의 브라우저에서 임의의 자바스크립트를 실행할 수 있습니다.
💡 쉬운 설명
이미지 파일(SVG)을 올릴 때 보안 검사가 제대로 이루어지지 않아, 이미지 안에 몰래 숨겨진 악성 코드가 실행될 수 있는 문제입니다. 공격자가 올린 이미지를 클릭하거나 보는 것만으로도 개인정보가 유출되거나 해킹을 당할 수 있습니다.
🇺🇸 원문 (English)
Concrete CMS before 9.5.3 contained a stored cross-site scripting vulnerability in SVG file handling. When SVG processing was set to the non-default "Reject files containing potentially harmful elements" mode (concrete.file_manager.images.svg_sanitization.action = reject), uploaded SVGs were checked only against a small built-in blocklist covering the script element and on* event-handler attributes; the broader enshrined/svg-sanitize pass still ran, but its result was discarded, so vectors it would have stripped, such as a javascript: URI in an xlink:href, were stored unmodified and executed when the file was opened directly. A user able to upload files could thereby run arbitrary JavaScript in the browser of any user who viewed the file. The default sanitize mode was not affected. The Concrete CMS security team gave this vulnerability a CVSS v4.0 score of 1.8 with vector CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:A/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N. Thanks Oriol Ortiz for reporting.
📍 영향받는 시스템
Concrete CMS version < 9.5.3
⚔️ 공격 벡터
악성 스크립트가 포함된 SVG 파일을 업로드하여 사용자가 해당 파일을 열람하도록 유도
🛡️ 대응 방법
Concrete CMS를 9.5.3 이상의 최신 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 9.5.3 미만인지 확인하십시오.
composer show concrete/concrete5 | grep 'versions'