🇰🇷 한글 설명
phpProfiles 3.1.2b 이전 버전의 여러 include 파일에서 menu, incpath 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자는 이를 악용하여 원격 서버의 악성 PHP 코드를 불러와 임의로 실행할 수 있습니다.
💡 쉬운 설명
phpProfiles 웹 소프트웨어에서 사용자 입력을 검증하지 않아 해커가 외부 악성 코드를 실행시킬 수 있습니다. 이를 통해 공격자는 웹 서버를 완전히 장악할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in phpProfiles 3.1.2b and earlier allow remote attackers to execute arbitrary PHP code via a URL in the menu parameter to (1) include/body.inc.php or (2) include/body_admin.inc.php; or a URL in the incpath parameter to (3) index.inc.php, (4) account.inc.php, (5) admin_newcomm.inc.php, (6) header_admin.inc.php, (7) header.inc.php, (8) friends.inc.php, (9) menu_u.inc.php, (10) notify.inc.php, (11) body.inc.php, (12) body_admin.inc.php, (13) commrecc.inc.php, (14) do_reg.inc.php, (15) comm_post.inc.php, or (16) menu_v.inc.php in include/, different vectors than CVE-2006-5634. NOTE: The provenance of this information is unknown; the details are obtained solely from third party information.
📍 영향받는 시스템
phpProfiles 3.1.2b 이전 모든 버전
⚔️ 공격 벡터
menu/incpath 파라미터에 원격 URL 입력하여 include/body.inc.php, body_admin.inc.php 등 16개 파일에서 원격 코드 실행
🛡️ 대응 방법
phpProfiles를 3.1.3 이상으로 업그레이드하거나 include 파일에서 외부 입력 기반 파일 경로 지정을 차단 및 입력 검증 강화
🔧 검증 코드
body.inc.php 파일이 발견되면 phpProfiles 설치 확인, 두 번째 명령의 결과가 0이 아니면 취약한 패턴 존재 가능성. phpProfiles 디렉토리의 README나 version 파일에서 버전 확인 필수.
find / -name 'body.inc.php' -type f 2>/dev/null | head -1 && grep -E 'menu|incpath' /var/www/*/include/*.php 2>/dev/null | wc -l