🇰🇷 한글 설명
myphpPagetool 0.4.3에서 ptinclude 파라미터를 통한 원격 파일 포함(RFI) 취약점으로, 공격자가 임의의 PHP 코드를 원격으로 실행할 수 있습니다. doc/admin/ 디렉토리의 여러 help 파일과 index.php가 영향을 받습니다.
💡 쉬운 설명
웹 애플리케이션이 외부에서 제공한 파일을 검증 없이 로드하는 문제로, 해커가 악성 코드를 주입하여 서버를 완전히 제어할 수 있습니다. 오래된 버전의 특정 웹 애플리케이션에서만 발생합니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in myphpPagetool 0.4.3 allow remote attackers to execute arbitrary PHP code via a URL in the ptinclude parameter to (1) help1.php, (2) help2.php, (3) help3.php, (4) help4.php, (5) help5.php, (6) help6.php, (7) help7.php, (7) help8.php, (8) help9.php, or (10) index.php in doc/admin/.
📍 영향받는 시스템
myphpPagetool 0.4.3 이하
⚔️ 공격 벡터
GET/POST 파라미터 ptinclude에 원격 URL을 입력하여 doc/admin/help*.php 및 index.php에서 악성 PHP 파일을 로드하고 실행
🛡️ 대응 방법
myphpPagetool 업그레이드, 입력값 검증 및 화이트리스트 구현, php.ini에서 allow_url_include=Off 설정
🔧 검증 코드
doc/admin 디렉토리의 PHP 파일 중 ptinclude 파라미터를 사용하는 파일이 있으면 취약점 존재, 결과가 없으면 안전
find /var/www -type f -name '*.php' -path '*/doc/admin/*' 2>/dev/null | xargs grep -l 'ptinclude' 2>/dev/null || echo '취약점 없음'