🇰🇷 한글 설명
Mantis 0.19.0a의 PHP 원격 파일 포함 취약점으로, bug_api.php의 t_core_path 또는 relationship_api.php의 t_core_dir 매개변수를 조작하여 원격 서버의 PHP 코드를 포함하고 실행할 수 있다. 인증 없이 임의 코드 실행이 가능하다.
💡 쉬운 설명
웹 애플리케이션이 사용자 입력을 검증하지 않고 원격 파일을 포함하는 보안 결함입니다. 공격자가 악의적인 코드를 포함시켜 서버에서 실행하도록 강제할 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in Mantis 0.19.0a allows remote attackers to execute arbitrary PHP code by modifying the (1) t_core_path parameter to bug_api.php or (2) t_core_dir parameter to relationship_api.php to reference a URL on a remote web server that contains the code.
📍 영향받는 시스템
Mantis 0.19.0a 및 그 이전 버전
⚔️ 공격 벡터
bug_api.php 또는 relationship_api.php의 파일 경로 매개변수를 공격자의 원격 서버 URL로 수정하여 악성 PHP 파일 포함
🛡️ 대응 방법
Mantis를 최신 버전(0.19.0b 이상)으로 업그레이드하거나 파일 포함 함수 제한 설정 적용
🔧 검증 코드
설치된 Mantis 버전을 확인하여 0.19.0a 이하인 경우 즉시 패치 필요
dpkg -l 2>/dev/null | grep mantis || find /var/www -name VERSION -path '*/mantis/*' 2>/dev/null | xargs cat