🔍 CVE-2006-2929

6.8
CVSS Score
MEDIUM
2006-06-09
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

OpenEMR 2.8.1 이전 버전에서 register_globals가 활성화되어 있을 때, GLOBALS[fileroot] 매개변수를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 공격자는 이를 악용하여 서버에서 임의의 PHP 코드를 실행할 수 있습니다.

💡 쉬운 설명

OpenEMR의 오래된 버전에서 공격자가 외부 악성 파일을 원격으로 실행할 수 있는 보안 결함입니다. 이를 통해 서버가 완전히 제어될 수 있습니다.

🇺🇸 원문 (English)

PHP remote file inclusion vulnerability in contrib/forms/evaluation/C_FormEvaluation.class.php in OpenEMR 2.8.1 and earlier, when register_globals is enabled, allows remote attackers to execute arbitrary PHP code via a URL in the GLOBALS[fileroot] parameter.

📍 영향받는 시스템

OpenEMR 2.8.1 이전 버전 (register_globals 활성화 시)

⚔️ 공격 벡터

GLOBALS[fileroot] 매개변수에 원격 PHP 파일 URL을 입력하여 code execution 트리거

🛡️ 대응 방법

OpenEMR을 최신 버전으로 업그레이드하고 PHP register_globals 설정을 비활성화

🔧 검증 코드

파일이 존재하면 OpenEMR 설치 확인 후 /var/www/html/openemr/version.php에서 버전 2.8.1 이하 확인, register_globals 활성화 여부는 php.ini에서 확인

Shell / Script
test -f /var/www/html/openemr/contrib/forms/evaluation/C_FormEvaluation.class.php && echo 'Vulnerable file exists' || echo 'File not found'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

PHP