🔍 CVE-2026-41587

0.0
CVSS Score
UNKNOWN
2026-05-07
2026-05-07 15:16
✅ 완료

🇰🇷 한글 설명

CI4MS의 테마 업로드 기능에서 인증된 사용자가 ZIP 파일 내 PHP 파일을 public/ 디렉토리에 설치하여 원격 코드 실행(RCE)을 달성할 수 있습니다. 버전 0.26.0.0부터 0.31.7.0 이전까지 영향을 받으며, 파일 확장자 및 내용 검증이 없어 HTTP를 통해 직접 실행 가능합니다.

💡 쉬운 설명

CI4MS 관리자가 테마 파일을 업로드할 때 악의적인 프로그램 파일을 숨겨 업로드할 수 있습니다. 이 파일들이 웹에서 접근 가능한 폴더에 저장되어 웹을 통해 직접 실행될 수 있습니다.

🇺🇸 원문 (English)

CI4MS is a CodeIgniter 4-based CMS skeleton that delivers a production-ready, modular architecture with RBAC authorization and theme support. From version 0.26.0.0 to before version 0.31.7.0, a theme upload feature allows any authenticated backend user with theme-upload permission to achieve remote code execution (RCE) by uploading a crafted ZIP file. PHP files inside the ZIP are installed into the web-accessible public/ directory with no extension or content filtering, making them directly executable via HTTP. This issue has been patched in version 0.31.7.0.

📍 영향받는 시스템

CI4MS 0.26.0.0 ~ 0.31.6.x 버전

⚔️ 공격 벡터

테마 업로드 권한이 있는 인증된 사용자가 PHP 파일이 포함된 ZIP 파일 업로드

🛡️ 대응 방법

CI4MS를 0.31.7.0 이상으로 업그레이드

🔧 검증 코드

결과에서 버전이 0.31.7.0 이상이면 안전, 0.31.6.x 이하면 취약점 있음

Shell / Script
grep -A3 '"name": "ci4ms/core"' composer.lock 2>/dev/null | grep '"version"'

💻 영향받는 소프트웨어

PHP