🇰🇷 한글 설명
Ekke Doerre Contenido 42VV10 및 관련 CMS 시스템의 21개 이상 PHP 파일에서 원격 파일 포함(RFI) 취약점이 발견되었습니다. 공격자가 cfgPathInc, cfgPathContenido, cfgPathTpl 파라미터를 통해 악의적인 외부 파일 경로를 주입하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹 관리자 도구가 사용자로부터 받은 파일 경로를 검증하지 않아, 공격자가 원격 악성 PHP 파일의 주소를 입력하면 서버가 그 파일을 다운로드하여 실행하게 됩니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Ekke Doerre Contenido 42VariablVersion (42VV10) in contenido_hacks in Mods 4 Xoops Contenido eZ publish (pdf4cms) allow remote attackers to execute arbitrary PHP code via a URL in the cfgPathInc parameter to (1) main_upl.php, (2) main_con_editside.php, (3) main_news_rcp.php, (4) main_mod.php, (5) main_tplinput_edit.php, (6) main_con.php, (7) main_tpl.php, (8) main_con_sidelist.php, (9) main_str.php, (10) main_news.php, (11) main_tplinput.php, (12) main_lang.php, (13) main_mod_edit.php, (14) main_lay.php, (15) main_lay_edit.php, (16) main_news_send.php, (17) main_con_edittpl.php, (18) main_stat.php, (19) main_tpl_edit.php, (20) main_news_edit.php, or (21) inc/upl_show_uploads.inc.php; the (a) cfgPathContenido or (b) cfgPathTpl parameter to (22) con_show_sidelist.inc.php, (23) mod_show_modules.inc.php, (24) con_edit_form.inc.php, (25) lay_show_layouts.inc.php, (26) con_show_tree.inc.php, (27) news_show_newsletters.inc.php, (28) str_show_tree.inc.php, (29) tpl_show_templates.inc.php, (30) stat_show_tree.inc.php, (31) con_editcontent.inc.php, or (32) news_show_recipients.inc.php in inc/; or the cfgPathTpl parameter to (33) main_user_md5.php3, or (34) actions_mod.php, (35) actions_lay.php, (36) actions_upl.php, (37) actions_stat.php, (38) actions_news.php, (39) actions_str.php, (40) header.php, (41) actions_con_sidelist.php, (42) main_top.inc.php, (43) actions_tpl.php, or (44) actions_con.php in tpl/. NOTE: vectors 21, 24, 26, 27, 32, 34, 35, 36, 37, 38, 39, 40, 41, 43, and 44 are disputed by CVE because PHP encounters a fatal function-call error on a direct request for the file, before reaching the include statement.
📍 영향받는 시스템
Ekke Doerre Contenido 42VV10, Mods 4 Xoops, Contenido, eZ publish, pdf4cms - 특히 main_*.php, inc/*.inc.php, tpl/*.php 파일들
⚔️ 공격 벡터
HTTP GET/POST 요청의 cfgPathInc, cfgPathContenido, cfgPathTpl 파라미터에 원격 파일 URL 삽입
🛡️ 대응 방법
제품을 최신 보안 패치로 업그레이드하고, 모든 파일 경로 입력에 대해 절대 경로 사용 강제 및 화이트리스트 기반 검증 적용
🔧 검증 코드
취약한 include/require 문이 외부 파라미터를 직접 사용 중이면 결과가 표시됩니다. 결과가 있으면 RFI 취약점이 존재함을 의미합니다.
grep -r 'include\|require' /var/www/html/ 2>/dev/null | grep -E '(cfgPathInc|cfgPathContenido|cfgPathTpl)' | head -5