🔍 CVE-2007-3217

7.5
CVSS Score
HIGH
2007-06-14
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

Prototype of a PHP application 0.1 버전의 여러 PHP 파일에서 path_inc 매개변수를 통한 원격 파일 포함(RFI) 취약점이 발견되었습니다. 공격자가 악의적인 URL을 path_inc 매개변수에 입력하여 원격 서버의 악성 PHP 코드를 실행할 수 있습니다. gestion, ident, menu, param, plugins/phpgacl 디렉토리의 여러 파일이 영향을 받습니다.

💡 쉬운 설명

이 취약점은 웹 애플리케이션이 사용자 입력을 충분히 검증하지 않아 공격자가 인터넷의 악성 코드를 실행하게 할 수 있습니다. 공격자는 URL을 조작하여 서버를 완전히 제어할 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in Prototype of an PHP application 0.1 allow remote attackers to execute arbitrary PHP code via a URL in the path_inc parameter to (1) index.php in gestion/; (2) identification.php, (3) disconnect.php, (4) loginliste.php, (5) loginmodif.php, (6) index.php, and (7) ident.inc.php in ident/; (8) menuadministration.php and (9) menuprincipal.php in menu/; (10) param.inc.php in param/; (11) index.php in plugins/phpgacl/; and (12) index.php and (13) common.inc.php.

📍 영향받는 시스템

Prototype of an PHP application 0.1 및 이전 버전

⚔️ 공격 벡터

HTTP 요청을 통해 path_inc 매개변수에 원격 PHP 파일 URL을 주입하여 임의 PHP 코드 실행

🛡️ 대응 방법

애플리케이션을 최신 버전으로 업그레이드하거나, path_inc 입력값에 대한 화이트리스트 검증 및 동적 파일 포함 금지 구현

🔧 검증 코드

결과에 파일이 나열되면 해당 파일이 사용자 입력을 직접 include/require에 사용하는 취약한 코드이므로 즉시 수정이 필요합니다.

Shell / Script
grep -r 'include.*path_inc\|require.*path_inc' /var/www --include='*.php' 2>/dev/null

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

PHP