PT-2021-23942 · Wiki.Js · Wiki.Js

Braidon

·

Published

2021-12-06

·

Updated

2021-12-08

·

CVE-2021-43800

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: Wiki.js versions prior to 2.5.254
Description: The issue allows directory traversal outside of the Wiki.js context when a storage module with local asset cache fetching is enabled on a Windows host. A malicious user can potentially read any file on the file system by crafting a special URL that allows for directory traversal. This is only possible on a Wiki.js server running on Windows, when a storage module implementing local asset cache is enabled and no web application firewall solution strips potentially malicious URLs.
Recommendations: For versions prior to 2.5.254, update to version 2.5.254 or later, which includes a fix that sanitizes the path before it is passed on to the storage module, removing any Windows directory traversal sequences. As a temporary workaround, consider disabling any storage module with local asset caching capabilities, such as Local File System or Git, until the update is applied.

Fix

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-43800
GHSA-R363-73GJ-6J25

Affected Products

Wiki.Js