🔍 CVE-2012-5386

6.8
CVSS Score
MEDIUM
2012-10-11
2026-04-29 01:13
✅ 완료

🇰🇷 한글 설명

phpPaleo 4.8b180의 index.php에 존재하는 디렉토리 traversal 취약점으로, 원격 공격자가 phppaleo4_lang 쿠키에 .. (상위 디렉토리) 시퀀스를 삽입하여 서버의 임의의 로컬 파일을 포함하고 실행할 수 있습니다. CVE-2012-1671과는 별개의 취약점입니다.

💡 쉬운 설명

웹 애플리케이션이 사용자 입력을 충분히 검증하지 않아, 공격자가 폴더를 거슬러 올라가는 특수 문자를 이용해 서버의 다른 파일을 읽고 실행할 수 있는 문제입니다. 쿠키 값을 통해 이 공격이 가능합니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in index.php in phpPaleo 4.8b180 allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the phppaleo4_lang cookie, a different vulnerability than CVE-2012-1671. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.

📍 영향받는 시스템

phpPaleo 4.8b180 이하

⚔️ 공격 벡터

phppaleo4_lang 쿠키값에 ../ 시퀀스를 주입하여 /etc/passwd 등 시스템 파일 접근 및 임의 코드 실행

🛡️ 대응 방법

phpPaleo를 최신 버전으로 업그레이드하고, 사용자 입력 (특히 쿠키)에 대해 .. 및 경로 traversal 문자 검증 구현

🔧 검증 코드

phppaleo4_lang 쿠키를 사용하는 파일 또는 phpPaleo 설치 디렉토리를 찾아 설치 여부와 버전을 확인하고, 버전이 4.8b180 이하인 경우 업그레이드 필요

Shell / Script
grep -r 'phppaleo4_lang' /var/www/ 2>/dev/null | head -20; find / -name 'phpPaleo*' -type d 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP