This vulnerability can be exploited remotely over the network, with a regular user account, with user interaction.
A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.
Weakness type: Improper input validation.
✨ AI commentary
After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.
Official description
Note Mark is an open-source note-taking application. From 0.13.0 to before 0.19.4, the Note Mark application allows authenticated users to upload assets to notes via POST /api/notes/{noteID}/assets, where the asset filename is provided through the X-Name HTTP request header. This value is stored directly in the database without any sanitization or validation - no path separator filtering, no directory traversal sequence rejection, and no use of filepath.Base() to strip directory components. The unsanitized name is persisted as-is in the note_assets table (Name column, varchar(80)). When an administrator subsequently runs the data export CLI commands (note-mark migrate export-v1 or note-mark migrate export), the stored asset name is passed directly into filepath.Join() and path.Join() calls as part of the output file path argument to os.Create(). Since Go's filepath.Join() resolves ../ sequences during path normalization, an attacker-controlled asset name containing directory traversal sequences causes the export process to write files to arbitrary locations on the filesystem, completely outside the intended export directory. This vulnerability is fixed in 0.19.4.
A **missing authorization** check has been found in the ldb_match_bitmask() function in ldb_match.c of the LDAP matching module in the **libldb library of Samba.** The directory marks an attribute the caller is not…
Velociraptor allows administrators to restrict server-side VQL native file access to approved host directories. Plugins usually check the user has the FILESYSTEM_READ/FILESYSTEM_WRITE permission first (usually only…
HCL Telco Observability is affected by an Improper Authorization vulnerability in its admin endpoint access-control checks, which could allow a remote authenticated attacker to submit a valid, lower-privileged JWT…
Incorrect authorization vulnerability in Apache Struts. An action can restrict which HTTP methods it accepts with the HTTP method annotations such as @HttpPost. When the annotation is placed on the action's default…
Joomla Extension - phoca.cz - Missing authorization for file actions in Phoca Commander 1.0.0-6.1.4 - Missing authorization checks for file actions allow users with access to the component to create, upload, rename,…
Joomla Extension - phoca.cz - Path Traversal vulnerability in Phoca Commander 1.0.0-6.1.4 - Improper limitation of file and folder names for copy, move, delete and rename actions lead to path traversal vulnerabilities.…