🇰🇷 한글 설명
Phorum 5.1.13 이하의 common.php에서 PHORUM[http_path] 파라미터를 통한 원격 파일 포함(RFI) 취약점입니다. 공격자가 악의적인 URL을 전달하여 임의의 PHP 코드를 실행할 수 있습니다. 다만 벤더는 common.php가 직접 호출되지 않도록 보호되어 있다고 반박하고 있습니다.
💡 쉬운 설명
포럼 소프트웨어의 설정 파일에서 외부 파일을 읽도록 속일 수 있는 문제입니다. 공격자가 특수한 URL을 만들어 보내면 서버가 공격자의 코드를 실행하게 됩니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in common.php in PHORUM 5.1.13 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the PHORUM[http_path] parameter. NOTE: this issue has been disputed by the vendor, who states "common.php is checked on the very first line of non-comment code that it is not being called directly. It has been this way in all 5.x version of Phorum." CVE analysis concurs with the vendor
📍 영향받는 시스템
Phorum 5.1.13 및 그 이전 버전
⚔️ 공격 벡터
PHORUM[http_path] 파라미터에 외부 URL을 삽입하여 원격 파일 포함 유도
🛡️ 대응 방법
Phorum을 최신 버전으로 업그레이드하거나 입력 검증을 강화하여 http_path 파라미터 필터링 적용
🔧 검증 코드
Phorum 설치 경로에서 common.php 파일을 찾으면 http_path 파라미터를 사용하는 코드가 있는지 확인하여 취약한 버전 여부 판단
find /var/www -name 'common.php' -exec grep -l 'http_path' {} \; 2>/dev/null | head -1