🇰🇷 한글 설명
Contenido CMS 4.8.4의 원격 파일 포함(RFI) 취약점으로, 여러 PHP 파일의 경로 설정 매개변수가 제대로 검증되지 않아 공격자가 악의적인 URL을 주입할 수 있습니다. 이를 통해 임의의 PHP 코드를 원격에서 실행하고 서버를 완전히 장악할 수 있습니다.
💡 쉬운 설명
웹사이트 관리 프로그램(Contenido CMS)이 사용자가 입력한 파일 경로를 확인하지 않아서, 해커가 악의적인 파일을 읽거나 실행하게 할 수 있는 보안 결함입니다. 이를 통해 웹서버가 온전히 해킹될 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Contenido CMS 4.8.4 allow remote attackers to execute arbitrary PHP code via a URL in the (1) contenido_path parameter to (a) contenido/backend_search.php; the (2) cfg[path][contenido] parameter to (b) move_articles.php, (c) move_old_stats.php, (d) optimize_database.php, (e) run_newsletter_job.php, (f) send_reminder.php, (g) session_cleanup.php, and (h) setfrontenduserstate.php in contenido/cronjobs/, and (i) includes/include.newsletter_jobs_subnav.php and (j) plugins/content_allocation/includes/include.right_top.php in contenido/; the (3) cfg[path][templates] parameter to (k) includes/include.newsletter_jobs_subnav.php and (l) plugins/content_allocation/includes/include.right_top.php in contenido/; and the (4) cfg[templates][right_top_blank] parameter to (m) plugins/content_allocation/includes/include.right_top.php and (n) contenido/includes/include.newsletter_jobs_subnav.php in contenido/, different vectors than CVE-2006-5380.
📍 영향받는 시스템
Contenido CMS 4.8.4 및 이전 버전
⚔️ 공격 벡터
HTTP GET/POST 요청을 통해 contenido_path, cfg[path][contenido], cfg[path][templates], cfg[templates][right_top_blank] 매개변수에 원격 파일 URL 주입
🛡️ 대응 방법
Contenido CMS를 4.8.5 이상 최신 버전으로 업그레이드하고, 모든 사용자 입력에 대한 경로 검증 로직 추가
🔧 검증 코드
Contenido 설치 경로에서 backend_search.php 파일이 발견되면 해당 버전 확인 필요하며, 입력값 검증 부재 시 취약함
find /var/www -name 'backend_search.php' 2>/dev/null | head -1 | xargs grep -l 'contenido_path' 2>/dev/null