🇰🇷 한글 설명
TagIt! Tagboard 2.1.B Build 2 이하 버전에서 register_globals 활성화 시 configpath, adminpath, admin 매개변수를 통한 원격 파일 포함(RFI) 취약점 존재합니다. 여러 PHP 파일의 매개변수가 제대로 검증되지 않아 공격자가 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 TagIt! 게시판 프로그램이 외부에서 전달된 파일 경로를 검증 없이 사용하는 결함이 있습니다. 공격자는 이를 이용해 악성 PHP 코드를 실행할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in TagIt! Tagboard 2.1.B Build 2 and earlier, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the (1) configpath parameter to (a) tagviewer.php, (b) tag_process.php, and (c) CONFIG/errmsg.inc.php; and (d) addTagmin.php, (e) ban_watch.php, (f) delTagmin.php, (g) delTag.php, (h) editTagmin.php, (i) editTag.php, (j) manageTagmins.php, and (k) verify.php in tagmin/; the (2) adminpath parameter to (l) tagviewer.php, (m) tag_process.php, and (n) tagmin/index.php; and the (3) admin parameter to (o) readconf.php, (p) updateconf.php, (q) updatefilter.php, and (r) wordfilter.php in tagmin/; different vectors than CVE-2006-5249.
📍 영향받는 시스템
TagIt! Tagboard 버전 2.1.B Build 2 이하 (PHP register_globals 활성화 환경)
⚔️ 공격 벡터
configpath, adminpath, admin 파라미터에 원격 악성 PHP 파일 URL을 주입하여 포함시키고 실행
🛡️ 대응 방법
최신 버전으로 업그레이드, PHP register_globals 비활성화, 모든 입력값 검증 및 파일 경로 화이트리스트 적용
🔧 검증 코드
TagIt! 파일에서 검증되지 않은 configpath/adminpath 변수 사용 여부를 확인하며, 결과가 없으면 해당 코드가 없는 상태입니다.
grep -r 'configpath\|adminpath' . 2>/dev/null | head -5