🔍 CVE-2006-5763

5.1
CVSS Score
MEDIUM
2006-11-06
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Free File Hosting 1.1 이전 버전에서 register_globals 활성화 시 AD_BODY_TEMP 파라미터를 통한 원격 파일 포함 취약점이 존재합니다. 공격자는 login.php, register.php, send.php를 대상으로 임의의 PHP 코드를 원격에서 실행할 수 있습니다. Free Image Hosting 2.0도 동일한 취약점을 포함합니다.

💡 쉬운 설명

웹사이트 파일에 외부 파일을 불러올 때 사용자 입력값을 검증하지 않아 공격자가 악성 코드 주소를 입력하면 서버에서 이를 실행하게 됩니다. 이는 register_globals라는 구 PHP 설정이 활성화되어 있을 때 발생합니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in Free File Hosting 1.1, and possibly earlier, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the AD_BODY_TEMP parameter to (1) login.php, (2) register.php, or (3) send.php. NOTE: the original provenance of this information is unknown; the details are obtained solely from third party information. NOTE: this issue was later reported for the "File Upload System" which is a component of Free File Hosting. Vector 1 also affects Free Image Hosting 2.0, which contains the same code.

📍 영향받는 시스템

Free File Hosting 1.1 이전, Free Image Hosting 2.0

⚔️ 공격 벡터

AD_BODY_TEMP 파라미터에 원격 파일 경로(예: http://attacker.com/shell.php)를 입력하여 PHP 코드 실행

🛡️ 대응 방법

PHP register_globals 설정 비활성화, 입력값 필터링 및 검증 강화, 최신 버전으로 업그레이드

🔧 검증 코드

VULNERABLE 출력 시 register_globals 활성화(취약), SAFE 출력 시 비활성화(안전) 상태입니다.

Shell / Script
php -r "echo ini_get('register_globals') ? 'VULNERABLE' : 'SAFE';" 2>/dev/null || echo 'PHP not found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP