🇰🇷 한글 설명
DoraCMS 3.1 및 이전 버전의 UEditor 원격 이미지 가져오기 기능에서 서버 측 요청 위조(SSRF) 취약점이 발견되었습니다. 공격자는 검증되지 않은 URL을 통해 서버가 내부 네트워크 자원에 요청을 보내도록 유도하여 내부 네트워크 스캔이나 서비스 거부 공격을 수행할 수 있습니다.
💡 쉬운 설명
웹사이트의 이미지 불러오기 기능을 악용하여, 공격자가 서버를 조종해 내부 네트워크의 다른 컴퓨터를 공격하게 만드는 문제입니다. 이를 통해 회사 내부의 중요한 정보가 유출되거나 서버가 마비될 수 있습니다.
🇺🇸 원문 (English)
DoraCMS version 3.1 and prior contains a server-side request forgery (SSRF) vulnerability in its UEditor remote image fetch functionality. The application accepts user-supplied URLs and performs server-side HTTP or HTTPS requests without sufficient validation or destination restrictions. The implementation does not enforce allowlists, block internal or private IP address ranges, or apply request timeouts or response size limits. An attacker can abuse this behavior to induce the server to issue outbound requests to arbitrary hosts, including internal network resources, potentially enabling internal network scanning and denial of service through resource exhaustion.
📍 영향받는 시스템
DoraCMS version 3.1 and prior
⚔️ 공격 벡터
UEditor의 원격 이미지 가져오기 기능에 조작된 URL을 입력하여 서버 측에서 임의의 요청을 발생시킴
🛡️ 대응 방법
URL 입력값에 대한 화이트리스트 기반 검증을 실시하고, 내부 IP 대역 접근을 차단하며 요청 제한 설정을 적용해야 합니다.
🔧 검증 코드
명령어 실행 시 내부 IP(127.0.0.1)에 대한 응답이 200 OK로 성공하면 취약한 상태이며, 403 Forbidden 등으로 차단되면 안전합니다.
curl -s -I http://<target_ip>/path/to/ueditor/upload/image?url=http://127.0.0.1 | grep -E 'HTTP/1.1 200|HTTP/1.1 403'