🔍 CVE-2008-4626

6.8
CVSS Score
MEDIUM
2008-10-21
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

YAPPA-ng 2.3.2 이하 버전의 index.php에서 magic_quotes_gpc 설정이 비활성화되어 있을 때, album 파라미터에서 디렉토리 트래버설(..) 공격을 통해 서버의 임의의 로컬 파일을 포함하고 실행할 수 있는 취약점입니다. 공격자는 이를 통해 시스템 정보를 유출하거나 악성 코드를 실행할 수 있습니다.

💡 쉬운 설명

웹 사진 앨범 프로그램의 폴더 경로 입력 부분에 '..'을 입력해서 원하지 않는 파일을 불러올 수 있는 문제입니다. 이를 통해 비밀번호 파일 같은 민감한 정보를 열람하거나 악의적인 코드를 실행할 수 있습니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in index.php in Fritz Berger yet another php photo album - next generation (yappa-ng) 2.3.2 and possibly other versions through 2.3.3-beta0, when magic_quotes_gpc is disabled, allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the album parameter.

📍 영향받는 시스템

YAPPA-ng (yet another php photo album - next generation) 2.3.2 및 2.3.3-beta0까지

⚔️ 공격 벡터

GET/POST 요청의 album 파라미터에 '../' 시퀀스를 포함시켜 상위 디렉토리의 파일 접근 (예: ?album=../../../etc/passwd)

🛡️ 대응 방법

YAPPA-ng을 최신 버전으로 업그레이드하거나, PHP의 magic_quotes_gpc를 활성화하고, 사용자 입력 값에 대한 경로 검증을 강화해야 함

🔧 검증 코드

YAPPA-ng이 설치된 경우 해당 경로의 index.php 파일이 표시되며, 파일이 없으면 해당 시스템에 취약한 버전이 설치되지 않은 것

Shell / Script
find /var/www -name 'index.php' -type f 2>/dev/null | xargs grep -l 'yappa' 2>/dev/null || find /home -path '*/yappa*' -name 'index.php' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP