🇰🇷 한글 설명
The Depicter — Popup & Slider Builder WordPress 플러그인 4.8.2 이전 버전은 에디터 미디어 업로드 엔드포인트에서 파일을 제대로 검증하지 않습니다. 클라이언트가 제공한 MIME 타입과 대소문자를 구분하는 .php 확장자 차단만 확인하여, Editor 이상 권한의 사용자가 다른 실행 가능한 확장자의 파일을 공개 업로드 디렉터리에 올릴 수 있으며, 이로 인해 저장형 스크립트 실행 및 서버 핸들러 설정에 따라 코드 실행으로 이어질 수 있습니다.
💡 쉬운 설명
편집자 권한을 가진 사용자가 PHP가 아닌 다른 확장자로 위장한 실행 파일을 업로드할 수 있는 취약점입니다. 이 파일이 실행되면 웹사이트나 서버가 공격자에게 장악될 수 있습니다.
🇺🇸 원문 (English)
The Depicter — Popup & Slider Builder WordPress plugin before 4.8.2 does not properly validate uploaded files in its editor media-upload endpoint, checking only the client-supplied MIME type and a case-sensitive block of the .php extension, which allows users with the Editor role and above to upload files with other active extensions into the public uploads directory, leading to stored script execution in the site origin and, depending on the server's handler mapping, to code execution.
📍 영향받는 시스템
The Depicter — Popup & Slider Builder WordPress 플러그인 4.8.2 미만 버전
⚔️ 공격 벡터
Editor 이상 권한을 가진 사용자가 .php 외 실행 가능한 확장자(예: .phtml, .phar)의 파일을 미디어 업로드로 올려 웹에서 실행시킴
🛡️ 대응 방법
The Depicter 플러그인을 4.8.2 이상 버전으로 업데이트하고, 업로드 파일 검증을 확장자 화이트리스트와 서버 측 MIME 검사로 강화
🔧 검증 코드
출력된 버전이 4.8.2 미만이면 취약하며, 4.8.2 이상이면 패치가 적용된 것입니다.
wp plugin get depicter --field=version 2>/dev/null || grep -r "Version:" wp-content/plugins/depicter/depicter.php 2>/dev/null