🇰🇷 한글 설명
Oqtane Framework 10.3.0 이전 버전의 FileController.cs UploadFile 엔드포인트에 서버 측 요청 위조(SSRF) 취약점이 존재합니다. 인증된 일반 사용자가 url 파라미터를 조작해 서버가 임의의 URL을 가져오도록 할 수 있으며, 스킴·호스트·IP 검증이 없습니다.
💡 쉬운 설명
로그인한 일반 사용자가 서버를 대신해 내부 네트워크나 클라우드 관리 정보에 접근할 수 있습니다. 가져온 내용은 파일로 저장되어 다운로드를 통해 외부로 유출될 수 있습니다.
🇺🇸 원문 (English)
Oqtane Framework before 10.3.0 contains a server-side request forgery vulnerability in the UploadFile endpoint of FileController.cs that allows authenticated registered users to make the server fetch arbitrary URLs by supplying a caller-controlled url parameter to HttpClient.GetStreamAsync without validating the scheme, host, or IP address. Attackers can request internal resources such as cloud instance metadata services or localhost-bound management interfaces, save the fetched response as a file in their own user folder, and retrieve it via the download endpoint to exfiltrate sensitive internal data or enumerate internal network hosts and ports.
📍 영향받는 시스템
Oqtane Framework 10.3.0 미만 버전
⚔️ 공격 벡터
인증된 사용자가 UploadFile의 url 파라미터에 내부 주소(클라우드 메타데이터, localhost 등)를 입력해 서버가 해당 응답을 파일로 저장하게 한 뒤 다운로드
🛡️ 대응 방법
Oqtane Framework를 10.3.0 이상으로 업그레이드하고, 외부 URL 요청 시 스킴·호스트·IP 허용목록 검증을 적용
🔧 검증 코드
출력된 Oqtane 패키지 버전이 10.3.0 미만이면 취약하며, 10.3.0 이상이면 패치된 버전입니다.
dotnet list package 2>/dev/null | grep -i oqtane