🇰🇷 한글 설명
Craft CMS 4.0.0부터 4.17.12 이전, 5.9.18 이전 버전에는 Yii 객체 생성 경로의 입력 처리 결함이 있습니다. 인증된 사용자가 condition field layouts 데이터를 통해 악성 설정을 주입하여 서버에서 임의 명령을 실행할 수 있습니다. 4.17.12 및 5.9.18에서 수정되었습니다.
💡 쉬운 설명
로그인한 일반 사용자가 특수하게 조작된 요청을 보내 서버를 장악할 수 있는 취약점입니다. 업데이트를 통해 이 문제를 해결할 수 있습니다.
🇺🇸 원문 (English)
Craft CMS is a content management system (CMS). From 4.0.0 to before 4.17.12 and 5.9.18, Craft CMS which contains an input-handling flaw in a Yii object creation path that let any authenticated user inject malicious configuration and execute arbitrary commands on the server. The request-controlled condition field layouts data is converted into a live FieldLayout object without a Component::cleanseConfig() boundary. Because Craft configures models before parent::__construct(), attacker-controlled special config keys can take effect during object creation, and FieldLayout initialization then triggers a same-request event. This vulnerability is fixed in 4.17.12 and 5.9.18.
📍 영향받는 시스템
Craft CMS 4.0.0 ~ 4.17.12 미만, 5.0.0 ~ 5.9.18 미만
⚔️ 공격 벡터
인증된 사용자가 condition field layouts 요청 데이터에 악성 설정 키를 삽입하여 객체 생성 과정에서 임의 명령을 실행
🛡️ 대응 방법
Craft CMS를 4.17.12 이상 또는 5.9.18 이상으로 업그레이드
🔧 검증 코드
출력된 버전이 4.17.12 이상(4.x 브랜치) 또는 5.9.18 이상(5.x 브랜치)이면 패치가 적용된 것이고, 그보다 낮으면 취약합니다.
composer show craftcms/cms 2>/dev/null | grep -E '^versions'
💻 영향받는 소프트웨어
Multi-Domain Security Management Server