🇰🇷 한글 설명
DCP-Portal SE 6.0의 원격 파일 포함(RFI) 취약점으로, 공격자가 root 파라미터를 통해 악의적인 PHP 파일을 원격에서 로드하여 임의의 코드를 실행할 수 있습니다. 또한 유효하지 않은 파라미터로 인해 서버의 전체 설치 경로가 노출될 수 있습니다.
💡 쉬운 설명
웹사이트가 인터넷에서 특정 파일을 자동으로 로드할 때, 해커가 악의적인 파일의 주소를 입력하면 그 파일이 실행되는 취약점입니다. 이를 통해 해커는 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in DCP-Portal SE 6.0 allow remote attackers to execute arbitrary PHP code via a URL in the root parameter in (1) library/lib.php and (2) library/editor/editor.php. NOTE: the same primary issue can be used for full path disclosure with an invalid parameter that reveals the installation path in an error message.
📍 영향받는 시스템
DCP-Portal SE 6.0 이전 버전
⚔️ 공격 벡터
HTTP 요청을 통해 library/lib.php 또는 library/editor/editor.php의 root 파라미터에 원격 파일 URL 삽입
🛡️ 대응 방법
DCP-Portal을 최신 버전으로 업그레이드하거나, 원격 파일 포함을 차단하도록 PHP 설정(allow_url_include=Off)을 수정하고 입력값 검증 강화
🔧 검증 코드
명령어 결과에서 $root나 $GET/REQUEST를 이용한 포함 문장이 나타나면 취약점 존재; 버전이 6.0 이상이면 패치 필요
grep -r 'include\|require' /path/to/dcp-portal/library/ | grep -E '\$(root|_GET|_REQUEST)' || echo 'Check DCP-Portal version: find / -name 'dcp-portal' -type d 2>/dev/null'