🇰🇷 한글 설명
Armin Burger의 p.mapper 3.2.0 beta3에서 _SESSION[PM_INCPHP] 파라미터를 통한 원격 파일 포함(RFI) 취약점으로, 공격자가 악의적인 PHP 파일을 포함시켜 임의의 코드를 실행할 수 있습니다. 영향받는 파일은 incphp/globals.php와 plugins/export/mc_table.php입니다.
💡 쉬운 설명
p.mapper 애플리케이션이 사용자의 입력을 검증하지 않고 PHP 파일을 읽어 실행합니다. 공격자가 악의적인 파일 주소를 입력하면 서버가 이를 실행하게 됩니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in Armin Burger p.mapper 3.2.0 beta3 allow remote attackers to execute arbitrary PHP code via a URL in the _SESSION[PM_INCPHP] parameter to (1) incphp/globals.php or (2) plugins/export/mc_table.php. NOTE: it could be argued that this vulnerability is caused by a problem in PHP and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in p.mapper.
📍 영향받는 시스템
Armin Burger p.mapper 3.2.0 beta3
⚔️ 공격 벡터
_SESSION[PM_INCPHP] 파라미터에 원격 파일 URL을 전달하여 RFI 트리거 (incphp/globals.php, plugins/export/mc_table.php)
🛡️ 대응 방법
p.mapper를 최신 버전으로 업그레이드하거나 해당 파일에서 파라미터 검증 로직 추가
🔧 검증 코드
p.mapper 설치 경로가 검출되면 vulnerable 파일이 존재하는 것을 확인. 해당 디렉토리에서 README 또는 VERSION 파일로 버전 확인
find /var/www -name 'globals.php' -o -name 'mc_table.php' 2>/dev/null | head -5