🔍 CVE-2001-1159

7.5
CVSS Score
HIGH
2001-07-02
2026-06-16 21:55
✅ 완료

🇰🇷 한글 설명

SquirrelMail 1.0.4 이전 버전의 load_prefs.php에서 PHP 변수가 제대로 초기화되지 않아 발생하는 취약점입니다. 원격 공격자가 config_php와 data_dir 옵션으로 서버의 민감한 파일에 접근하거나, options_order.php를 통해 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

SquirrelMail 메일 프로그램에서 설정이 제대로 보호되지 않아 해커가 서버 파일을 볼 수 있거나 악의적인 명령을 실행할 수 있습니다. 1.0.4 이전의 오래된 버전에서 발생합니다.

🇺🇸 원문 (English)

load_prefs.php and supporting include files in SquirrelMail 1.0.4 and earlier do not properly initialize certain PHP variables, which allows remote attackers to (1) view sensitive files via the config_php and data_dir options, and (2) execute arbitrary code by using options_order.php to upload a message that could be interpreted as PHP.

📍 영향받는 시스템

SquirrelMail 1.0.4 및 이전 버전

⚔️ 공격 벡터

원격에서 config_php, data_dir, options_order.php 파라미터를 조작하여 파일 열람 또는 PHP 코드 실행

🛡️ 대응 방법

SquirrelMail을 1.0.5 이상으로 업그레이드하고 PHP 변수 초기화 보안 패치 적용

🔧 검증 코드

SquirrelMail 설치 디렉토리에서 버전 정보를 확인하여 1.0.5 이상인지 검증합니다. 1.0.4 이하면 취약합니다.

Shell / Script
find /var/www -name 'version.txt' -o -name 'SM_VERSION' 2>/dev/null | xargs cat 2>/dev/null || grep -r 'version.*=' /path/to/squirrelmail 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP