🔍 CVE-2007-2072

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

🇰🇷 한글 설명

Ivan Gallery Script 0.1의 index.php 파일에서 dir 매개변수로 원격 파일을 포함할 수 있는 취약점. 공격자가 URL을 조작하여 임의의 PHP 코드를 서버에서 실행 가능. 0.3 버전에서는 dir 변수 검증으로 인해 문제가 해결되었다는 주장이 있음.

💡 쉬운 설명

웹 갤러리 프로그램의 버그로 공격자가 링크 조작을 통해 원치 않은 코드를 실행할 수 있습니다. 서버에 접근 가능한 권한 없이 악의적인 명령어를 직접 실행시킬 수 있다는 뜻입니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in index.php in Ivan Gallery Script 0.1 allows remote attackers to execute arbitrary PHP code via a URL in the dir parameter. NOTE: this issue has been disputed by third party researchers for 0.3, stating that the dir variable is properly initialized before use

📍 영향받는 시스템

Ivan Gallery Script 0.1

⚔️ 공격 벡터

index.php의 dir 매개변수에 원격 파일 URL을 주입하여 RFI(Remote File Inclusion) 공격 실행

🛡️ 대응 방법

Ivan Gallery Script를 0.3 이상으로 업그레이드하거나 dir 매개변수에 대한 입력 검증 및 화이트리스트 적용

🔧 검증 코드

결과에서 Ivan Gallery 파일이 발견되면 버전 확인 필요 (0.1은 취약, 0.3 이상은 패치됨)

Shell / Script
find /var/www -name 'index.php' 2>/dev/null | xargs grep -l 'Ivan Gallery\|ivan' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP