🔍 CVE-2007-0863

10.0
CVSS Score
HIGH
2007-02-09
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Trevorchan 0.7 이하 버전의 PHP에서 tc_config[rootdir] 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 이를 통해 공격자가 upgrade.php, paint_save.php, menu.php, manage.php, banned.php에서 임의의 코드를 실행할 수 있습니다. 다만 신뢰할 수 있는 제3자는 config.php에서 변수를 사용 전에 설정하므로 실제 취약점 여부를 논쟁하고 있습니다.

💡 쉬운 설명

Trevorchan이라는 오래된 PHP 응용프로그램에서 공격자가 외부 파일을 불러올 수 있도록 하는 버그가 있습니다. 이를 악용하면 웹 서버에서 임의의 코드를 실행당할 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in Trevorchan 0.7 and earlier allows remote attackers to execute arbitrary code via the tc_config[rootdir] parameter to (1) upgrade.php, (2) paint_save.php, (3) menu.php, (4) manage.php, and (5) banned.php. NOTE: his issue has been disputed by reliable third parties, who state that the variable is set before use in config.php

📍 영향받는 시스템

Trevorchan 0.7 이하 버전

⚔️ 공격 벡터

tc_config[rootdir] 파라미터에 외부 파일 경로를 입력하여 upgrade.php, paint_save.php, menu.php, manage.php, banned.php를 대상으로 원격 코드 실행

🛡️ 대응 방법

Trevorchan을 최신 버전으로 업그레이드하거나 입력 검증 및 필터링을 강화하여 파라미터 조작을 방지

🔧 검증 코드

Trevorchan 설치 위치가 발견되면 영향을 받을 수 있으므로 버전 확인 및 업그레이드 필요

Shell / Script
find / -name 'Trevorchan' -o -name 'upgrade.php' -o -name 'paint_save.php' 2>/dev/null | head -5

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP