🇰🇷 한글 설명
YourFreeScreamer 1.0에서 register_globals가 활성화되어 있을 때, 여러 템플릿 디렉토리의 bodyTemplate.php 파일에서 serverPath 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 이를 통해 공격자는 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
YourFreeScreamer 프로그램이 사용자가 제공한 파일 경로를 검증하지 않아 원격의 악의적인 코드를 실행될 수 있게 합니다. PHP의 register_globals 설정이 활성화되어 있으면 더욱 취약해집니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in YourFreeScreamer 1.0, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the serverPath parameter to bodyTemplate.php in (1) templates/Classic/, (2) templates/Classic Guestbook/, (3) templates/DarkNights/, and (4) templates/Simplistic/, different vectors than CVE-2007-3271. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
YourFreeScreamer 1.0 (register_globals enabled)
⚔️ 공격 벡터
GET/POST 요청을 통해 serverPath 매개변수에 원격 URL을 입력하여 임의의 PHP 파일을 포함시키고 실행
🛡️ 대응 방법
YourFreeScreamer를 최신 버전으로 업그레이드하거나 PHP의 register_globals를 비활성화하고 사용자 입력에 대한 검증을 추가
🔧 검증 코드
register_globals가 활성화된 상태이거나 YourFreeScreamer가 설치되어 있으면 시스템이 취약함을 의미합니다.
grep -r 'register_globals' /etc/php*/*/conf.d/ 2>/dev/null | grep -i 'on\|true' || dpkg -l | grep -i 'yourfreescreamer'