🔍 CVE-2009-3702

7.5
CVSS Score
HIGH
2009-12-22
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

PHP-Calendar 1.1의 configfile 매개변수에서 절대 경로 탐색 취약점으로, 원격 공격자가 update08.php, update10.php를 통해 임의의 로컬 파일을 포함하고 실행할 수 있습니다. UNC 경로나 ftp/ftps/ssh2.sftp URL 사용 시 원격 파일 포함으로까지 악용 가능합니다.

💡 쉬운 설명

PHP-Calendar 프로그램이 파일 경로를 제대로 검증하지 않아, 공격자가 서버의 어느 파일이든 실행시킬 수 있는 문제입니다. 네트워크 경로를 사용하면 인터넷의 악성 파일도 실행 가능합니다.

🇺🇸 원문 (English)

Multiple absolute path traversal vulnerabilities in PHP-Calendar 1.1 allow remote attackers to include and execute arbitrary local files via a full pathname in the configfile parameter to (1) update08.php or (2) update10.php. NOTE: in some environments, this can be leveraged for remote file inclusion by using a UNC share pathname or an ftp, ftps, or ssh2.sftp URL.

📍 영향받는 시스템

PHP-Calendar 1.1 이하 (update08.php, update10.php 포함)

⚔️ 공격 벡터

update08.php 또는 update10.php의 configfile 매개변수에 /etc/passwd, \\\\server\\share\\shell.php, ftp://attacker.com/shell.php 같은 경로 입력

🛡️ 대응 방법

PHP-Calendar를 최신 버전으로 업데이트 또는 configfile 매개변수에 대한 경로 검증 및 화이트리스트 구현

🔧 검증 코드

명령어 결과에 파일이 발견되면 PHP-Calendar가 설치된 것이며, 설치 경로의 버전을 확인하고 업데이트 필요

Shell / Script
find / -type f \( -name 'update08.php' -o -name 'update10.php' \) 2>/dev/null

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP