🇰🇷 한글 설명
register_globals가 활성화된 환경에서 phpMyProfiler의 functions.php 파일의 pmp_rel_path 파라미터를 통해 원격 파일 포함(RFI) 취약점이 발생합니다. 공격자는 이를 이용해 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
오래된 phpMyProfiler 프로그램에서 특정 설정을 잘못했을 때, 공격자가 인터넷에서 악의적인 파일을 불러와 실행할 수 있는 문제입니다. 서버가 완전히 장악될 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in functions.php in phpMyProfiler 0.9.6 and earlier, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the pmp_rel_path parameter.
📍 영향받는 시스템
phpMyProfiler 0.9.6 및 이전 버전 (register_globals 활성화 필요)
⚔️ 공격 벡터
pmp_rel_path 파라미터에 원격 파일 URL을 삽입하여 PHP 코드 실행
🛡️ 대응 방법
phpMyProfiler를 최신 버전으로 업그레이드하거나 register_globals를 비활성화하고 pmp_rel_path 입력값을 검증
🔧 검증 코드
결과가 나타나면 phpMyProfiler가 설치되어 있음을 의미하며, 파일 경로와 함께 표시된 버전 정보를 확인하여 0.9.6 이하인지 검증
grep -r 'pmp_rel_path' /var/www/html 2>/dev/null | head -5