🔍 CVE-2026-53580

8.1
CVSS Score
HIGH
2026-08-27
2026-10-14 15:41
✅ 완료

🇰🇷 한글 설명

Trilium 0.104.0 미만 버전에서 이미지 자동 다운로드 기능이 file:// URL을 검증 없이 허용하여 발생합니다. 인증된 사용자가 임의의 로컬 파일을 읽어 노트 첨부파일로 저장하거나, /dev/zero와 같은 무한 소스를 사용하여 서버를 다운시킬 수 있습니다.

💡 쉬운 설명

메모 앱에 이미지 주소 대신 컴퓨터 내부 파일 경로를 입력하면, 앱이 그 파일을 몰래 읽어서 보여주는 보안 결함입니다. 이를 통해 해커가 서버의 중요한 비밀 파일을 훔쳐보거나 서버를 멈추게 할 수 있습니다.

🇺🇸 원문 (English)

Trilium is an open-source hierarchical note-taking application. In versions prior to 0.104.0, the automatic image-download feature accepts file:// URLs in a note's img tags and reads the referenced local file with no path validation, allowing any authenticated user to disclose arbitrary files readable by the Trilium process. When a text note is saved, Trilium scans its HTML for image sources and downloads each external one; because the HTML sanitizer keeps file as an allowed scheme, a source such as file:///etc/passwd is passed straight to a filesystem read and its contents are stored as a note attachment the user can then retrieve. Pointing the same primitive at an unbounded source such as /dev/zero causes uncontrolled memory allocation that crashes the server process. The feature is enabled by default and is reachable through the web UI, the ETAPI, the web clipper, and note imports, requiring only an authenticated session or an ETAPI token. This issue is fixed in version 0.104.0

📍 영향받는 시스템

Trilium versions prior to 0.104.0

⚔️ 공격 벡터

인증된 사용자가 HTML img 태그의 src 속성에 file:// 경로를 삽입하여 공격

🛡️ 대응 방법

Trilium을 0.104.0 버전 이상으로 즉시 업데이트

🔧 검증 코드

출력된 버전 번호가 0.104.0 미만이면 취약한 상태입니다.

Shell / Script
curl -s http://<trilium-host>/api/notes/version | grep -E '0\.[0-9]+[0-9]+'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

IBM WebSphere Application Server