🔍 CVE-2026-78385

0.0
CVSS Score
UNKNOWN
2026-08-24
2026-10-14 13:10
✅ 완료

🇰🇷 한글 설명

RansomLook의 PDF 생성 기능에서 리소스 검증이 미흡하여 발생하는 취약점입니다. 공격자가 분석 문서 내에 file:// 또는 http://와 같은 임의의 리소스 참조를 포함할 경우, WeasyPrint 엔진이 서버의 로컬 파일에 접근하거나 내부 네트워크로 요청을 보내는 SSRF 공격이 가능합니다.

💡 쉬운 설명

분석 보고서를 PDF로 만드는 과정에서 서버가 허용되지 않은 파일이나 내부 네트워크 주소에 접근할 수 있는 보안 허점이 발견되었습니다. 이를 통해 공격자가 서버 내부의 중요한 정보를 훔쳐보거나 내부망을 공격할 수 있습니다.

🇺🇸 원문 (English)

RansomLook contains insufficient resource validation in the analysis PDF generation functionality. Analysis documents are converted from Markdown to HTML and passed to WeasyPrint for PDF rendering. Prior to the fix, WeasyPrint used its default URL fetcher, allowing resource references contained in an analysis to be resolved without restrictions. An authenticated attacker able to create or modify an analysis could embed crafted resource references using schemes such as file:// or http://. When the analysis was subsequently rendered as PDF, WeasyPrint would process these references with the privileges and network access of the RansomLook server. A malicious file:// reference could cause the renderer to access arbitrary files readable by the RansomLook process, potentially exposing sensitive configuration, credentials, or other local data through rendered resources. Network URLs could cause the server to initiate requests to localhost, internal network services, or external systems, resulting in server-side request forgery (SSRF) and potentially bypassing network-level access restrictions. The patch introduces a dedicated WeasyPrint URL fetcher that permits only data: resources, the RansomLook report logo, and files contained within the analysis asset directory. Network resources and filesystem paths outside these explicitly permitted locations are rejected.

📍 영향받는 시스템

RansomLook (PDF 생성 기능이 포함된 버전)

⚔️ 공격 벡터

인증된 공격자가 분석 문서 내에 악의적인 리소스 경로(file://, http://)를 삽입하여 PDF 렌더링 유도

🛡️ 대응 방법

허용된 리소스(data:, 로고, 지정된 자산 디렉토리)만 접근할 수 있도록 전용 URL fetcher가 적용된 최신 패치 적용

🔧 검증 코드

명령어 실행 결과로 전용 URL fetcher 관련 로직이나 보안 패치 코드가 확인되면 취약점이 해결된 것입니다.

Shell / Script
grep -r "WeasyPrint URL fetcher" /path/to/ransomlook/source/code

💻 영향받는 소프트웨어

Spring Data REST