🇰🇷 한글 설명
PHP Traverser 0.8.0의 mp3_id.php 파일에서 GLOBALS[BASE] 파라미터를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자가 악의적인 PHP 파일의 URL을 전송하면 서버가 이를 실행하여 임의의 코드가 실행될 수 있습니다.
💡 쉬운 설명
사용자 입력을 검증하지 않고 파일을 읽는 보안 결함입니다. 해커가 자신의 악의적인 파일 주소를 보내면 웹서버가 그것을 실행하여 완전히 침해됩니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in assets/plugins/mp3_id/mp3_id.php in PHP Traverser 0.8.0 allows remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[BASE] parameter. NOTE: the provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
PHP Traverser 0.8.0
⚔️ 공격 벡터
HTTP GET/POST 요청의 GLOBALS[BASE] 파라미터에 원격 파일 URL(http://attacker.com/shell.php) 삽입
🛡️ 대응 방법
PHP Traverser를 최신 버전으로 업그레이드하거나, GLOBALS[BASE]에 대한 입력 검증 및 allow_url_include 비활성화
🔧 검증 코드
결과가 나오면 취약한 코드가 존재하는 것이고, 아무것도 나오지 않으면 패치되었거나 파일이 제거된 것입니다.
grep -i 'GLOBALS\[BASE\]' /var/www/*/assets/plugins/mp3_id/mp3_id.php 2>/dev/null | grep -v 'isset\|empty'