🔍 CVE-2005-4593

7.5
CVSS Score
HIGH
2005-12-31
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

PHP의 register_globals 설정이 활성화된 phpDocumentor 1.3.0 rc4 이전 버전에서 원격 파일 포함(RFI) 취약점이 존재합니다. Documentation/tests/bug-559668.php의 FORUM[LIB] 파라미터나 docbuilder/file_dialog.php의 root_dir 파라미터를 통해 원격 공격자가 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

phpDocumentor라는 PHP 문서 생성 도구의 오래된 버전에서 공격자가 악의적인 파일 주소를 입력하면 그 파일을 실행할 수 있는 보안 결함이 있습니다. 이를 통해 웹 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in phpDocumentor 1.3.0 rc4 and earlier, when register_globals is enabled, allows remote attackers to execute arbitrary code via a URL in the (1) FORUM[LIB] parameter in Documentation/tests/bug-559668.php and (2) the root_dir parameter in docbuilder/file_dialog.php.

📍 영향받는 시스템

phpDocumentor 1.3.0 rc4 및 이전 버전 (register_globals enabled)

⚔️ 공격 벡터

HTTP 요청을 통해 FORUM[LIB] 또는 root_dir 파라미터에 원격 PHP 파일 URL을 입력하여 코드 실행

🛡️ 대응 방법

phpDocumentor를 1.3.0 정식 버전 이상으로 업그레이드하고 register_globals를 비활성화

🔧 검증 코드

취약한 phpDocumentor 파일이 발견되거나 register_globals가 On이면 취약합니다. 최신 버전 설치 및 register_globals 비활성화 필요

Shell / Script
find / -name 'phpDocumentor' -o -name 'bug-559668.php' -o -name 'file_dialog.php' 2>/dev/null; php -i | grep -i register_globals

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

PHP