🔍 CVE-2007-2068

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

🇰🇷 한글 설명

Gallery 소프트웨어의 StoreFront 모듈에서 GALLERY_BASEDIR 파라미터를 통한 원격 파일 포함(RFI) 취약점이 발견되었습니다. 공격자는 이 파라미터에 악의적인 URL을 입력하여 mods/business_functions.php와 mods/ui_functions.php에서 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

Gallery 웹사이트 만드는 소프트웨어에서 사용자가 입력한 파일 경로를 제대로 확인하지 않는 결함이 있습니다. 공격자가 이를 이용해 자신의 악의적인 코드를 서버에서 실행시킬 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in the StoreFront mods for Gallery allow remote attackers to execute arbitrary PHP code via a URL in the GALLERY_BASEDIR parameter to (1) mods/business_functions.php or (2) mods/ui_functions.php.

📍 영향받는 시스템

Gallery 소프트웨어의 StoreFront mods (특히 business_functions.php, ui_functions.php)

⚔️ 공격 벡터

GALLERY_BASEDIR 파라미터에 원격 URL을 입력하여 RFI(Remote File Inclusion) 공격 실행

🛡️ 대응 방법

Gallery를 최신 버전으로 업데이트하고, 입력값 검증 강화 및 공식 보안 패치 적용

🔧 검증 코드

파일이 나타나면 취약한 Gallery 설치 발견, 없으면 해당 애플리케이션이 설치되지 않았거나 이미 제거됨

Shell / Script
find /var/www -name 'business_functions.php' -o -name 'ui_functions.php' 2>/dev/null | xargs grep -l 'GALLERY_BASEDIR' 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP