🇰🇷 한글 설명
MetInfo CMS의 파일 업로드 기능에서 .php 확장자만 차단하고 .phtml 등 다른 PHP 실행 확장자는 차단하지 않는 필터 우회 취약점입니다. 인증된 관리자가 .phtml 파일을 업로드하여 서버에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
MetInfo 웹사이트 관리 도구에서 파일 업로드 시 .php 파일만 막아놨는데, .phtml처럼 생긴 파일은 업로드 가능합니다. 관리자가 이를 악용하면 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
job/uploadfile_save.php in MetInfo through 5.3.17 blocks the .php extension but not related extensions, which might allow remote authenticated admins to execute arbitrary PHP code by uploading a .phtml file after certain actions involving admin/system/safe.php and job/cv.php.
📍 영향받는 시스템
MetInfo through version 5.3.17
⚔️ 공격 벡터
Authenticated admin uploads .phtml file via job/uploadfile_save.php to bypass extension filter and execute arbitrary PHP code
🛡️ 대응 방법
Update MetInfo to version 5.3.18 or later that properly validates all PHP executable extensions
🔧 검증 코드
파일이 발견되면 미패치 상태입니다; 발견되지 않으면 확장자 필터가 개선되었을 가능성이 있습니다
find /path/to/metinfo -name 'uploadfile_save.php' -exec grep -l 'phtml\|php3\|php4\|php5' {} \;