🇰🇷 한글 설명
net2ftp 0.1~0.62 버전의 index.php에서 application_rootdir 파라미터를 통해 원격 PHP 코드 실행을 허용하는 원격 파일 포함(RFI) 취약점입니다. 벤더는 해당 변수가 settings.inc.php에서 설정되므로 실제 취약점이 아니라고 주장하고 있습니다.
💡 쉬운 설명
공격자가 특정 파라미터에 악의적인 파일 경로를 입력하여 서버에서 원격으로 코드를 실행할 수 있습니다. 다만 이것이 실제 보안 문제인지에 대해서는 보안 전문가들 사이에 논쟁이 있습니다.
🇺🇸 원문 (English)
PHP remote file inclusion vulnerability in index.php in net2ftp, possibly 0.1 through 0.62, allows remote attackers to execute arbitrary PHP code via a URL in the application_rootdir parameter. NOTE: this issue has been disputed by a third party researcher, CVE, and the vendor. The vendor says "the variable is set in settings.inc.php, so this is not a vulnerability.
📍 영향받는 시스템
net2ftp 0.1 ~ 0.62 버전
⚔️ 공격 벡터
HTTP 요청의 application_rootdir 파라미터에 악의적인 URL을 전달하여 원격 PHP 코드 실행
🛡️ 대응 방법
net2ftp를 최신 버전으로 업그레이드하거나 application_rootdir 파라미터에 대한 입력 검증 및 화이트리스트 구현
🔧 검증 코드
파일이 발견되면 net2ftp가 설치되어 있는 것이고, 0.1~0.62 버전이면 영향받는 상태입니다.
find / -type f -path '*/net2ftp/index.php' 2>/dev/null | head -1