🇰🇷 한글 설명
Streamline PHP Media Server 1.0-beta4의 core/theme/includes/ 디렉토리 내 여러 PHP 파일(admin_footer.php, info_footer.php 등)에서 sl_theme_unix_path 파라미터를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 외부 URL을 입력하여 임의의 PHP 코드를 실행할 수 있으며, .htaccess Limit 지원이 미설정된 경우에만 취약합니다.
💡 쉬운 설명
웹 서버가 외부에서 제공된 파일을 제대로 검증하지 않고 실행하는 문제입니다. 해커가 악성 코드를 담은 파일을 강제로 실행시킬 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Streamline PHP Media Server 1.0-beta4 allow remote attackers to execute arbitrary PHP code via a URL in the sl_theme_unix_path parameter to (1) admin_footer.php, (2) info_footer.php, (3) theme_footer.php, (4) browse_footer.php, (5) account_footer.php, or (6) search_footer.php in core/theme/includes/. NOTE: the vulnerability is present only when the administrator does not follow installation instructions about the requirement for .htaccess Limit support.
📍 영향받는 시스템
Streamline PHP Media Server 1.0-beta4 (.htaccess Limit 미설정)
⚔️ 공격 벡터
sl_theme_unix_path 파라미터에 공격자 제어 URL 입력으로 원격 PHP 실행
🛡️ 대응 방법
.htaccess Limit 활성화, 최신버전 업데이트, 입력값 검증 강화
🔧 검증 코드
취약한 파일 발견 시 해당 PHP 파일 내 sl_theme_unix_path 파라미터의 입력값 검증 로직(whitelist, sanitization) 부재 여부 확인
find /var/www -name '*footer.php' -type f 2>/dev/null | xargs grep -l 'sl_theme_unix_path' | head -5