🇰🇷 한글 설명
Craft CMS 5.10.12 미만 버전의 element-index 엔드포인트에서 인증된 콘텐츠 편집자가 임의의 클래스를 인스턴스화할 수 있는 원격 코드 실행(RCE) 취약점이 발견되었습니다. 공격자는 criteria 파라미터를 조작하고 PHP 가젯 체인을 활용하여 User-Agent 헤더에 포함된 악성 페이로드를 실행할 수 있습니다.
💡 쉬운 설명
권한을 가진 사용자가 시스템의 특정 설정을 조작하여 서버에서 해커가 원하는 명령어를 마음대로 실행할 수 있는 보안 결함입니다. 이로 인해 서버의 제어권이 완전히 탈취될 위험이 있습니다.
🇺🇸 원문 (English)
Craft CMS versions before 5.10.12 contain a remote code execution vulnerability in the element-index endpoint that allows authenticated content editors to instantiate arbitrary classes through the criteria parameter. Attackers can inject a malicious class via criteria[withTransforms][0][class] that reaches ImageTransforms::normalizeTransform(), then use a PHP gadget chain with yii\rbac\PhpManager to execute code by pointing itemFile to a request log containing PHP payload in the User-Agent header.
📍 영향받는 시스템
Craft CMS 5.10.12 미만 모든 버전
⚔️ 공격 벡터
인증된 편집자 권한을 이용한 criteria 파라미터 조작 및 PHP 가젯 체인을 통한 RCE 공격
🛡️ 대응 방법
Craft CMS를 최신 버전인 5.10.12 이상으로 즉시 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 5.10.12 미만인지 확인하여 취약 여부를 판단합니다.
composer show craft/cms | grep 'versions'