🔍 CVE-2006-6613

6.8
CVSS Score
MEDIUM
2006-12-18
2026-06-16 22:33
✅ 완료

🇰🇷 한글 설명

phpAlbum 0.4.1 Beta 6 이전 버전의 language.php에 있는 디렉토리 순회(directory traversal) 취약점으로, magic_quotes_gpc가 비활성화되고 register_globals가 활성화된 환경에서 pa_lang[include_file] 파라미터에 .. 시퀀스를 주입하여 임의의 로컬 파일을 포함하고 실행할 수 있다. 공격자는 Apache 로그 파일에 PHP 코드를 삽입한 후 이를 language.php가 포함하도록 유도하여 원격 코드 실행이 가능하다.

💡 쉬운 설명

웹 서버의 폴더 구조를 무단으로 탐색하여 접근 금지된 파일들을 읽거나 악의적인 코드를 실행할 수 있는 보안 결함입니다. 공격자가 서버 로그 파일에 악성 코드를 숨겨두고 웹사이트가 이를 자동으로 실행하도록 속일 수 있습니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in language.php in phpAlbum 0.4.1 Beta 6 and earlier, when magic_quotes_gpc is disabled and register_globals is enabled, allows remote attackers to include and execute arbitrary local files or obtain sensitive information via a .. (dot dot) in the pa_lang[include_file] parameter, as demonstrated by injecting PHP sequences into an Apache HTTP Server log file, which is then included by language.php.

📍 영향받는 시스템

phpAlbum 0.4.1 Beta 6 및 그 이전 버전

⚔️ 공격 벡터

pa_lang[include_file] 파라미터에 .. (상위 디렉토리) 시퀀스 주입 및 Apache 로그 파일 포함

🛡️ 대응 방법

phpAlbum을 최신 패치 버전으로 업그레이드하고, PHP 설정에서 magic_quotes_gpc를 활성화하며 register_globals는 비활성화

🔧 검증 코드

결과에서 phpAlbum 버전이 0.4.1 Beta 6 이하면 취약함 - 최신 버전으로 즉시 업그레이드 필요

Shell / Script
grep -r 'phpAlbum' /var/www /home 2>/dev/null | grep -i version | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server