漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Trilium arbitrary file read and denial of service via file:// URLs in the automatic image-download feature
Vulnerability Description
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
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Vulnerability Type
文件名或路径的外部可控制
Vulnerability Title
Trilium Next Trilium Notes 资源管理错误漏洞
Vulnerability Description
Trilium Next Trilium Notes是Trilium Next组织的一款支持文档管理与项目管理的工具。 Trilium Next Trilium Notes 0.104.0之前版本存在安全漏洞,该漏洞源于自动图片下载功能接受file:// URL且未对路径进行验证,允许经过身份验证的用户泄露任意文件;同时指向无界资源时导致内存分配不受控制,造成服务器崩溃。
CVSS Information
N/A
Vulnerability Type
N/A