🇰🇷 한글 설명
openMairie openCimetiere 2.01에서 register_globals 활성화 시 path_om 매개변수를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 악의적인 원격 PHP 파일을 포함시켜 임의 코드를 실행할 수 있으며, 23개의 클래스 파일이 영향을 받습니다.
💡 쉬운 설명
웹 애플리케이션이 공격자가 제공한 악의적인 파일을 인터넷에서 직접 로드하여 실행하도록 강제할 수 있습니다. 이를 통해 서버를 완전히 제어할 수 있습니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in openMairie openCimetiere 2.01, when register_globals is enabled, allow remote attackers to execute arbitrary PHP code via a URL in the path_om parameter to (1) autorisation.class.php, (2) courrierautorisation.class.php, (3) droit.class.php, (4) profil.class.php, (5) temp_defunt_sansemplacement.class.php, (6) utils.class.php, (7) cimetiere.class.php, (8) defunt.class.php, (9) emplacement.class.php, (10) tab_emplacement.class.php, (11) temp_emplacement.class.php, (12) voie.class.php, (13) collectivite.class.php, (14) defunttransfert.class.php, (15) entreprise.class.php, (16) temp_autorisation.class.php, (17) travaux.class.php, (18) zone.class.php, (19) courrier.class.php, (20) dossier.class.php, (21) plans.class.php, (22) temp_defunt.class.php, and (23) utilisateur.class.php in obj/.
📍 영향받는 시스템
openMairie openCimetiere 2.01 (register_globals enabled)
⚔️ 공격 벡터
path_om 매개변수에 악의적인 원격 파일 URL을 전달하여 원격 코드 실행
🛡️ 대응 방법
openCimetiere 업그레이드, register_globals 비활성화, 입력값 검증 및 화이트리스트 적용
🔧 검증 코드
register_globals가 'On'이면 취약하며, openCimetiere obj/ 디렉토리의 .class.php 파일 존재 시 설치 확인됨
php -i 2>/dev/null | grep -i register_globals && echo '' || find /var/www -name '*.class.php' -path '*/obj/*' 2>/dev/null | grep -i openCimetiere | head -1