🔍 CVE-2007-4127

6.8
CVSS Score
MEDIUM
2007-08-01
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Ralf Image Gallery 1.0의 check_entry.php 파일에 존재하는 PHP 원격 파일 포함(RFI) 취약점으로, dir_abs_src 파라미터를 통해 원격 공격자가 임의의 PHP 코드를 실행할 수 있습니다. 다만 register_globals가 활성화된 경우 제품이 종료되어 악용이 차단될 수 있다는 주장이 있습니다.

💡 쉬운 설명

사진 관리 프로그램의 설정 부분에서 웹 경로 입력값을 제대로 검증하지 않아, 해커가 악의적인 PHP 코드를 원격으로 실행할 수 있는 취약점입니다. 특정 서버 설정에서는 자동으로 차단될 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in check_entry.php in Ralf Image Gallery (RIG), aka Raphael Moll RIG Image Gallery, 1.0 allows remote attackers to execute arbitrary PHP code via a URL in the dir_abs_src parameter. NOTE: this issue is disputed by multiple third parties, who report that the product exits if register_globals is enabled, thereby blocking exploitation. NOTE: CVE-2006-3210.a covers this issue in versions before 1.0

📍 영향받는 시스템

Ralf Image Gallery (RIG) version 1.0 and earlier versions

⚔️ 공격 벡터

HTTP GET/POST request to check_entry.php with malicious file path in dir_abs_src parameter

🛡️ 대응 방법

Ralf Image Gallery를 최신 버전으로 업그레이드하고 register_globals 비활성화, 그리고 모든 입력값에 대한 검증 강화

🔧 검증 코드

파일이 발견되면 해당 버전 확인 후 1.0 이하인 경우 즉시 업그레이드 필요, 발견되지 않으면 취약한 버전 미설치

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP