🔍 CVE-2007-1855

7.5
CVSS Score
HIGH
2007-04-03
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Shop-Script FREE의 smarty/smarty_class.php에 존재하는 PHP 원격 파일 포함(RFI) 취약점으로, _smarty_compile_path, smarty_compile_path, get_plugin_filepath, smarty_dir, filename 매개변수를 통해 원격 공격자가 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹사이트 제작 도구(Shop-Script FREE)의 특정 설정 값을 조작하여, 공격자가 다른 서버의 악의적인 파일을 실행하도록 만들 수 있는 취약점입니다. 이를 통해 해커가 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in smarty/smarty_class.php in Shop-Script FREE allow remote attackers to execute arbitrary PHP code via a URL in the (1) _smarty_compile_path, (2) smarty_compile_path, (3) get_plugin_filepath, (4) smarty_dir, and (5) filename parameters. NOTE: this issue might be related to CVE-2006-7105.

📍 영향받는 시스템

Shop-Script FREE (버전 미명시, 최신 버전 이전까지 영향)

⚔️ 공격 벡터

HTTP 요청의 URL 매개변수에 원격 파일 경로(예: http://attacker.com/shell.php)를 삽입하여 RFI 공격 수행

🛡️ 대응 방법

Shop-Script FREE를 최신 버전으로 업그레이드하거나, allow_url_include 설정을 비활성화하고 입력값 검증을 강화합니다.

🔧 검증 코드

시스템에 취약한 smarty_class.php 파일이 존재하는지 확인합니다. 결과가 나오면 해당 파일이 있으며, 패치 여부를 파일 버전으로 확인해야 합니다.

Shell / Script
find / -name 'smarty_class.php' 2>/dev/null | xargs grep -l '_smarty_compile_path'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP