🔍 CVE-2007-0172

7.5
CVSS Score
HIGH
2007-01-11
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

AllMyGuests 0.3.0 이하 버전의 PHP 원격 파일 포함(RFI) 취약점으로, AMG_serverpath 파라미터를 통해 공격자가 외부 서버의 악의적 PHP 파일을 로드하고 실행할 수 있습니다. comments.php, signin.php 등 여러 파일에서 동일한 취약점이 존재하여 전체 웹 애플리케이션 손상 위험이 높습니다.

💡 쉬운 설명

AllMyGuests 웹 애플리케이션이 어떤 외부 파일이든 무분별하게 로드하는 결함이 있습니다. 공격자가 악의적 코드 주소를 보내면 웹 서버가 그 코드를 실행하게 되어 서버가 완전히 장악될 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in AllMyGuests 0.3.0 and earlier allow remote attackers to execute arbitrary PHP code via a URL in the AMG_serverpath parameter to (1) comments.php and (2) signin.php; and possibly via a URL in unspecified parameters to (3) include/submit.inc.php, (4) admin/index.php, (5) include/cm_submit.inc.php, and (6) index.php.

📍 영향받는 시스템

AllMyGuests 0.3.0 이하 모든 버전

⚔️ 공격 벡터

AMG_serverpath 파라미터에 원격 PHP 파일 URL을 주입하여 임의 코드 실행

🛡️ 대응 방법

AllMyGuests를 0.3.1 이상으로 업그레이드하거나 영향받는 PHP 파일들의 파라미터 검증 로직을 수정

🔧 검증 코드

명령어가 파일을 반환하면 취약한 AllMyGuests가 설치되어 있으므로 즉시 패치 필요

Shell / Script
find / -type f -name 'comments.php' 2>/dev/null | xargs grep -l 'AMG_serverpath' 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP