🇰🇷 한글 설명
OpenDock FullCore 4.4 이전 버전의 여러 PHP 파일에서 doc_directory 파라미터를 통해 원격 파일을 포함시킬 수 있는 취약점입니다. 공격자는 악의적인 URL을 통해 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
OpenDock 프로그램의 오래된 버전에서 공격자가 특정 입력 필드에 악의적인 웹 주소를 입력하면 원격 서버의 코드를 실행할 수 있는 문제입니다. 이를 통해 웹사이트를 완전히 장악당할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in OpenDock FullCore 4.4 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the doc_directory parameter in (1) sw/index_sw.php; (2) cart.php, (3) lib_cart.php, (4) lib_read_cart.php, (5) lib_sys_cart.php, and (6) txt_info_cart.php in sw/lib_cart/; (7) comment.php, (8) find_comment.php, and (9) lib_comment.php in sw/lib_comment/; (10) sw/lib_find/find.php; and other unspecified PHP scripts.
📍 영향받는 시스템
OpenDock FullCore 4.4 이전 모든 버전
⚔️ 공격 벡터
HTTP GET/POST 요청을 통해 doc_directory 파라미터에 원격 PHP 파일 URL을 주입하여 임의 코드 실행
🛡️ 대응 방법
OpenDock FullCore를 4.5 이상으로 업그레이드하거나 웹 서버에서 allow_url_include를 비활성화 및 입력값 검증 추가
🔧 검증 코드
OpenDock이 설치되어 있으면 해당 취약한 PHP 파일들이 표시되며, 파일이 없으면 시스템에 OpenDock이 설치되지 않은 상태입니다.
find /var/www -name 'index_sw.php' -o -name 'cart.php' 2>/dev/null | head -5