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
Description as published by the source, in English.
The product allows user input to control or influence paths or file names that are used in filesystem operations.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK.
This shows which techniques the weakness class is historically used for.
It does not assert that this vulnerability has been exploited that way.
T1003: OS Credential Dumping credential-access
T1027: Obfuscated Files or Information stealth
T1039: Data from Network Shared Drive collection
T1119: Automated Collection collection
T1213: Data from Information Repositories collection
T1499: Endpoint Denial of Service impact
T1530: Data from Cloud Storage collection
T1552.001: Credentials In Files credential-access
T1552.003: Shell History credential-access
T1552.004: Private Keys credential-access
T1552.006: Group Policy Preferences credential-access
T1555: Credentials from Password Stores credential-access