🇰🇷 한글 설명
MantisBT 1.2.4 이전 버전의 admin/upgrade_unattended.php에 디렉토리 순회 취약점이 존재합니다. 공격자가 db_type 파라미터에 '..'을 삽입하여 임의의 로컬 파일을 포함하고 실행할 수 있으며, ADOdb Library의 부안전한 호출이 원인입니다.
💡 쉬운 설명
파일 경로에 '..'을 사용하여 서버의 다른 폴더에 접근하는 보안 결함입니다. 이를 악용하면 공격자가 서버의 민감한 파일을 실행하거나 조작할 수 있습니다.
🇺🇸 원문 (English)
Directory traversal vulnerability in admin/upgrade_unattended.php in MantisBT before 1.2.4 allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the db_type parameter, related to an unsafe call by MantisBT to a function in the ADOdb Library for PHP.
📍 영향받는 시스템
MantisBT 1.2.3 이하 모든 버전
⚔️ 공격 벡터
admin/upgrade_unattended.php?db_type=../../etc/passwd 형태로 db_type 파라미터에 디렉토리 순회 시퀀스 삽입
🛡️ 대응 방법
MantisBT를 1.2.4 이상으로 업그레이드하거나 db_type 파라미터에 대한 엄격한 입력 검증 구현
🔧 검증 코드
버전 1.2.4 이상이면 안전하며, 1.2.3 이하면 취약점 존재 상태입니다.
dpkg -l | grep -i mantis && echo '---' && rpm -qa | grep -i mantis