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
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
The product allows user input to control or influence paths or file names that are used in filesystem operations.
Angrepsteknikker
Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK.
Dette viser hvilke teknikker svakhetsklassen historisk brukes til.
Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.
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