🇰🇷 한글 설명
Monsta FTP 2.14.5 미만 버전의 fetchRemoteFile 액션에서 IP 차단 목록 검사 미흡으로 인한 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자는 IPv4-mapped IPv6 주소를 사용하여 내부 서비스에 접근하고, 클라우드 인스턴스 메타데이터 자격 증명을 탈취할 수 있습니다.
💡 쉬운 설명
해커가 서버를 속여서 서버 내부의 중요한 정보나 비밀번호를 외부로 빼돌릴 수 있는 결함입니다. 특히 클라우드 환경에서 서버의 권한을 통째로 뺏길 위험이 있습니다.
🇺🇸 원문 (English)
Monsta FTP before 2.14.5 contains a server-side request forgery vulnerability in the fetchRemoteFile action caused by an incomplete IP blocklist check in the isBlockedIP() function, which fails to detect embedded IPv4 addresses within IPv4-mapped IPv6 addresses. An unauthenticated attacker can obtain a CSRF token from the public getSystemVars endpoint and submit a fetchRemoteFile request with a source URL resolving to an IPv4-mapped address, causing the server to issue HTTP requests to internal services and write responses to an attacker-controlled FTP destination, enabling retrieval of cloud instance metadata credentials.
📍 영향받는 시스템
Monsta FTP version < 2.14.5
⚔️ 공격 벡터
unauthenticated attacker via fetchRemoteFile action using IPv4-mapped IPv6 addresses
🛡️ 대응 방법
Monsta FTP를 2.14.5 버전 이상으로 업데이트하십시오.
🔧 검증 코드
출력된 버전 정보가 2.14.5 미만인지 확인하여 취약 여부를 판단합니다.
curl -s http://<target_ip>/version.php | grep -E '2\[\.\]14\.[0-5]'