🇰🇷 한글 설명
Poplar Gedcom Viewer 2.0 이하의 include/common.php에서 env[rootPath] 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 임의의 PHP 코드를 서버에서 실행할 수 있으며, 서버 완전 장악이 가능합니다.
💡 쉬운 설명
웹 프로그램이 사용자가 입력한 경로를 검증 없이 사용하여 원격 서버의 악성 파일을 포함시키고 실행합니다. 공격자는 이를 통해 서버 전체를 제어할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in include/common.php in Poplar Gedcom Viewer 2.0 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the env[rootPath] parameter.
📍 영향받는 시스템
Poplar Gedcom Viewer 2.0 이하
⚔️ 공격 벡터
env[rootPath] 파라미터에 원격 파일 URL 전달하여 임의 PHP 코드 실행
🛡️ 대응 방법
Poplar Gedcom Viewer 최신 버전으로 업그레이드하거나 입력값 검증 및 파일 포함 제한 패치 적용
🔧 검증 코드
결과가 없으면 해당 취약점 파일이 없음, 발견되면 파일의 입력 검증 로직 확인 필요
find / -name 'common.php' 2>/dev/null | xargs grep -l 'env\[rootPath\]' 2>/dev/null | head -1