🔍 CVE-2006-5554

7.5
CVSS Score
HIGH
2006-10-26
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Imageview 5의 index.php에 있는 디렉토리 트래버설 취약점으로, user_settings 쿠키에 '..'를 입력하여 임의의 로컬 파일을 읽거나 실행할 수 있습니다. albumview.php의 MyFile 파라미터를 통해 PHP 코드가 포함된 .gif 파일을 업로드하고 index.php가 이를 실행하도록 유도할 수 있습니다.

💡 쉬운 설명

웹사이트의 파일 관리 기능에 문제가 있어서 '../'을 사용해 서버의 다른 파일들을 접근할 수 있습니다. 공격자가 PHP 코드를 위장한 이미지 파일을 업로드하면 그것이 실행되어 서버가 해킹될 수 있습니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in index.php in Imageview 5 allows remote attackers to read or execute arbitrary local files via a .. (dot dot) in the user_settings cookie, as demonstrated by using the MyFile parameter in albumview.php to upload a text/plain .gif file containing PHP code, which is executed by index.php.

📍 영향받는 시스템

Imageview 5 및 이전 버전

⚔️ 공격 벡터

user_settings 쿠키에 '..' 입력 또는 MyFile 파라미터를 통한 악의적 .gif 파일 업로드

🛡️ 대응 방법

Imageview를 최신 버전으로 업그레이드하거나 입력 검증 및 파일 업로드 제한을 구현하여 디렉토리 트래버설 및 PHP 실행 방지

🔧 검증 코드

명령어가 PHP 파일을 반환하면 user_settings를 사용하는 취약한 애플리케이션이 설치되어 있습니다. 파일 경로를 확인하여 Imageview 버전을 확인할 수 있습니다.

Shell / Script
find /var/www/html -type f -name "*.php" -exec grep -l "user_settings" {} \; 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP