🇰🇷 한글 설명
WebFrame 0.76의 classFiles 매개변수 검증 부족으로 인한 원격 파일 포함 취약점입니다. admin/doc/index.php, index.php, base/menu.php에서 공격자가 악의적인 원격 URL을 주입하여 임의의 PHP 코드를 실행할 수 있습니다.
💡 쉬운 설명
WebFrame이 사용자 입력을 검증하지 않고 외부 파일을 불러오기 때문에, 공격자가 인터넷 어디서나 악성 PHP 코드를 실행시킬 수 있습니다. 이는 서버 전체를 장악당하는 매우 심각한 문제입니다.
🇺🇸 원문 (English)
Multiple PHP remote file inclusion vulnerabilities in WebFrame 0.76 allow remote attackers to execute arbitrary PHP code via a URL in the classFiles parameter to (1) admin/doc/index.php, (2) index.php, and (3) base/menu.php in mod/.
📍 영향받는 시스템
WebFrame 0.76 및 이전 버전
⚔️ 공격 벡터
classFiles 파라미터에 원격 PHP 파일 URL을 입력하여 코드 실행 유도
🛡️ 대응 방법
WebFrame을 최신 버전으로 업그레이드하거나 classFiles 입력값에 대한 엄격한 검증 및 화이트리스트 구현
🔧 검증 코드
WebFrame이 설치된 경우 해당 파일이 발견되며, grep으로 classFiles 매개변수 처리 코드를 확인하여 입력 검증 로직의 부재 여부 판단 가능
find / -name 'index.php' -type f -path '*/mod/*' -o -path '*/admin/doc/*' 2>/dev/null | xargs grep -l 'classFiles' 2>/dev/null