🔍 CVE-2008-7064

7.5
CVSS Score
HIGH
2009-08-25
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Quicksilver Forums의 get_lang 함수에서 Windows 경로의 역슬래시를 필터링하지 않아 발생하는 디렉토리 순회 취약점입니다. 공격자는 lang 파라미터에 백슬래시를 삽입하여 임의의 로컬 파일을 포함할 수 있으며, 아바타 업로드로 PHP 코드를 실행 가능합니다.

💡 쉬운 설명

포럼 소프트웨어가 파일 경로를 검증할 때 Windows의 역슬래시를 검사하지 않아, 공격자가 임의의 파일을 읽고 악의적인 코드를 실행할 수 있습니다. 프로필 사진 업로드 기능을 악용하여 서버에 코드를 심을 수 있습니다.

🇺🇸 원문 (English)

Directory traversal vulnerability in the get_lang function in global.php in Quicksilver Forums 1.4.2 and earlier, as used in QSF Portal before 1.4.5, when running on Windows, allows remote attackers to include and execute arbitrary local files via a "\" (backslash) in the lang parameter to index.php, which bypasses a protection mechanism that only checks for "/" (forward slash), as demonstrated by uploading and including PHP code in an avatar file.

📍 영향받는 시스템

Quicksilver Forums 1.4.2 이전, QSF Portal 1.4.5 이전 (Windows 환경에서만)

⚔️ 공격 벡터

index.php의 lang 파라미터에 백슬래시를 포함하여 경로 제한을 우회하고, 업로드된 아바타 파일을 PHP 코드 실행으로 악용

🛡️ 대응 방법

Quicksilver Forums를 1.4.3 이상, QSF Portal을 1.4.5 이상으로 업그레이드하고 경로 필터링에서 정방향/역슬래시 모두 검사

🔧 검증 코드

명령어 실행 후 결과가 없으면 Quicksilver Forums가 설치되지 않았거나, 결과가 있으면 해당 버전의 global.php를 확인하여 패치 여부 검증

Shell / Script
find / -name global.php -path '*quicksilver*' 2>/dev/null | xargs grep -l 'get_lang'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP