🇰🇷 한글 설명
Hinton Design phpht Topsites의 phpht_real_path 파라미터를 통한 원격 파일 포함(RFI) 취약점으로, index.php 및 관리자 디렉토리의 여러 스크립트가 영향을 받습니다. 원격 공격자가 URL 파라미터로 외부 PHP 파일을 지정하여 서버에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
웹사이트 소프트웨어가 특정 파라미터를 제대로 검증하지 않아, 공격자가 인터넷의 악의적인 파일을 서버에서 실행시킬 수 있습니다. 이를 통해 서버의 데이터를 탈취하거나 시스템을 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Hinton Design phpht Topsites allow remote attackers to execute arbitrary PHP code via a URL in the phpht_real_path parameter to (1) index.php, (2) certain other scripts in the top-level directory, and (3) certain scripts in the admin/ directory. NOTE: CVE disputes this vulnerability because $phpht_real_path is defined before use in index.php and most other files except common.php, which is already covered by CVE-2006-5458
📍 영향받는 시스템
Hinton Design phpht Topsites 소프트웨어 (구체적 버전 정보 제한적)
⚔️ 공격 벡터
phpht_real_path 파라미터에 외부 URL을 주입하여 원격 PHP 파일 포함 및 실행
🛡️ 대응 방법
입력 검증 강화, 원격 파일 포함(allow_url_include) 비활성화, 패치 적용
🔧 검증 코드
phpht_real_path 변수가 발견되면 해당 설치본이 취약한 버전이므로 즉시 패치 또는 제거 필요
grep -r "phpht_real_path" /var/www 2>/dev/null | head -1