🔍 CVE-2005-4800

9.0
CVSS Score
HIGH
2005-12-31
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

YaPIG 0.95b 이전 버전의 modify_gallery.php에서 인증된 관리자가 TestGallery 매개변수를 통해 임의의 PHP 코드를 주입할 수 있는 직접 정적 코드 주입 취약점입니다. 주입된 코드는 guid_info.php에 삽입되어 서버에서 실행됩니다.

💡 쉬운 설명

오래된 YaPIG 이미지 갤러리 프로그램에서 관리자가 악의적인 코드를 심을 수 있는 보안 구멍이 있습니다. 이를 통해 서버에서 원하는 모든 명령을 실행할 수 있게 됩니다.

🇺🇸 원문 (English)

Direct static code injection vulnerability in Yet Another PHP Image Gallery (YaPIG) 0.95b and earlier allows remote authenticated administrators to inject arbitrary PHP code via the TestGallery parameter in a mod_info action to modify_gallery.php, which inserts the code into guid_info.php. NOTE: this issue is easier to exploit due to a separate CSRF vulnerability.

📍 영향받는 시스템

Yet Another PHP Image Gallery (YaPIG) 버전 0.95b 이하

⚔️ 공격 벡터

인증된 관리자가 modify_gallery.php의 TestGallery 매개변수에 PHP 코드를 주입하여 guid_info.php 파일을 수정

🛡️ 대응 방법

YaPIG를 최신 버전으로 업그레이드하거나 공식 보안 패치 적용 및 관리자 접근 제어 강화

🔧 검증 코드

YaPIG 설치 경로가 반환되면 해당 시스템에 YaPIG가 설치되어 있으며, 버전 확인 후 0.95b 이하일 경우 취약함

Shell / Script
find / -name 'modify_gallery.php' -o -name 'guid_info.php' 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP