🔍 CVE-2006-5115

5.1
CVSS Score
MEDIUM
2006-10-03
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

KGB 1.87의 kgcall.php에서 발생하는 디렉토리 트래버설 취약점으로, engine 파라미터에 ".."(점 두 개)를 입력하여 임의의 로컬 파일을 포함 및 실행할 수 있습니다. 공격자는 image/jpeg 콘텐츠 타입으로 PHP 코드가 포함된 파일을 업로드한 후, engine 파라미터를 통해 해당 파일을 참조하여 코드를 실행할 수 있습니다.

💡 쉬운 설명

악의적인 사용자가 파일 경로에 특수 기호(..)를 넣어서 웹 서버의 다른 파일에 접근하고 실행할 수 있는 보안 결함입니다. 특히 업로드된 파일을 통해 악성 코드를 실행할 수 있습니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in kgcall.php in KGB 1.87 allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the engine parameter, as demonstrated by uploading a file containing PHP code with an image/jpeg content type, and then referencing this file through the engine parameter.

📍 영향받는 시스템

KGB version 1.87 and earlier

⚔️ 공격 벡터

Remote attacker uploads PHP-containing file as image/jpeg, then uses directory traversal ('../') in engine parameter of kgcall.php to include and execute the uploaded malicious file

🛡️ 대응 방법

Upgrade to KGB version > 1.87 or apply input validation/sanitization to block '..' sequences in engine parameter

🔧 검증 코드

kgcall.php 파일이 발견되면 해당 버전의 KGB가 시스템에 설치되어 있는 것이므로 영향받는지 확인 필요

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

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP