🔍 CVE-2006-5731

6.4
CVSS Score
MEDIUM
2006-11-06
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Lithium CMS 4.04c 이전 버전의 classes/index.php에 디렉토리 트래버설 취약점이 존재하여 원격 공격자가 siteconf[curl] 파라미터의 '..'를 이용해 임의의 로컬 파일을 포함하고 실행할 수 있습니다. 공격자는 news/comment.php를 통해 PHP 코드를 db/comments/news/ 디렉토리에 저장한 후 이를 자동 실행되게 할 수 있습니다.

💡 쉬운 설명

오래된 Lithium CMS 버전에서 폴더 경로를 부정하게 조작해 원치 않는 파일을 실행할 수 있는 문제입니다. 공격자가 악성 PHP 코드를 서버에 저장하면 자동으로 실행됩니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in classes/index.php in Lithium CMS 4.04c and earlier allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the siteconf[curl] parameter, as demonstrated by a POST to news/comment.php containing PHP code, which is stored under db/comments/news/ and included by classes/index.php.

📍 영향받는 시스템

Lithium CMS 4.04c 이전 모든 버전

⚔️ 공격 벡터

POST 요청으로 news/comment.php에 PHP 코드를 전송하고 siteconf[curl] 파라미터에 '..'를 삽입해 임의 파일 포함 유도

🛡️ 대응 방법

Lithium CMS를 4.04c 이후 버전으로 즉시 업그레이드하고 모든 사용자 입력에 대해 경로 유효성 검증 강화

🔧 검증 코드

결과가 있으면 해당 경로에서 classes/index.php를 확인하고 siteconf[curl] 처리 코드를 점검하여 경로 필터링 여부 확인

Shell / Script
find /var/www -name index.php -path '*/classes/*' 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP