🇰🇷 한글 설명
openMairie openCourrier 2.02 및 2.03 베타 버전에서 register_globals 설정이 활성화되어 있을 때, path_om 파라미터를 통한 원격 파일 포함(RFI) 취약점이 존재합니다. 이를 통해 공격자는 10개의 PHP 클래스 파일(bible.class.php, dossier.class.php 등)에서 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
openCourrier 프로그램의 설정이 잘못되어 있으면, 악의적인 사람이 인터넷을 통해 서버에서 임의의 코드를 실행할 수 있습니다. register_globals라는 PHP 보안 설정이 활성화되어 있을 때 path_om 파라미터로 원격 파일을 로드하여 공격이 가능합니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in openMairie openCourrier 2.02 and 2.03 beta, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the path_om parameter to (1) bible.class.php, (2) dossier.class.php, (3) service.class.php, (4) collectivite.class.php, (5) droit.class.php, (6) tache.class.php, (7) emetteur.class.php, (8) utilisateur.class.php, (9) courrier.recherche.tab.class.php, and (10) profil.class.php in obj/. NOTE: some of these details are obtained from third party information.
📍 영향받는 시스템
openMairie openCourrier 2.02, 2.03 beta (register_globals 활성화된 환경)
⚔️ 공격 벡터
원격 파일 포함(RFI)을 통해 path_om 파라미터에 악의적인 URL을 입력하여 임의의 PHP 코드 실행
🛡️ 대응 방법
openCourrier를 최신 버전으로 업그레이드하고, PHP의 register_globals 설정을 비활성화(php.ini에서 register_globals = Off), allow_url_include를 비활성화합니다.
🔧 검증 코드
openCourrier 설치 경로가 존재하고, register_globals가 Off로 설정되어 있으면 안전한 상태입니다.
find / -name 'openCourrier' -o -name 'bible.class.php' 2>/dev/null | head -5; php -i 2>/dev/null | grep -i register_globals