🇰🇷 한글 설명
Free File Hosting 1.1 이전 버전의 forgot_pass.php에서 AD_BODY_TEMP 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자는 외부 PHP 파일을 포함시켜 임의의 PHP 코드를 실행할 수 있으며, Free Image Hosting 2.0도 동일한 코드 기반으로 영향을 받습니다.
💡 쉬운 설명
이 프로그램은 사용자가 제공한 파일 경로를 검증하지 않아, 공격자가 악의적인 파일을 실행시킬 수 있습니다. 해커가 특정 URL을 통해 자신의 악성 코드를 실행하면 서버가 완전히 손상될 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in forgot_pass.php in Free File Hosting 1.1 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the AD_BODY_TEMP parameter. NOTE: this issue was later reported for the "File Upload System" which is a component of Free File Hosting. This 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 매개변수에 외부 PHP 파일 URL 주입을 통한 RFI 공격
🛡️ 대응 방법
최신 버전으로 업그레이드하거나 forgot_pass.php에서 사용자 입력을 엄격하게 검증 및 화이트리스트 적용
🔧 검증 코드
해당 파일이 발견되면 영향받는 버전이 설치되어 있으며, 파일이 없으면 이미 제거되었거나 패치된 상태입니다.
find / -name 'forgot_pass.php' 2>/dev/null | xargs grep -l 'AD_BODY_TEMP' 2>/dev/null