7.5
HIGH
CVE-2021-43800
Wiki.js Windows Local File System Directory Traversal Vulnerability
Description

Wiki.js is a wiki app built on Node.js. Prior to version 2.5.254, directory traversal outside of Wiki.js context is possible 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 (e.g Local File System or Git) is enabled and that no web application firewall solution (e.g. cloudflare) strips potentially malicious URLs. Commit number 414033de9dff66a327e3f3243234852f468a9d85 fixes this vulnerability by sanitizing the path before it is passed on to the storage module. The sanitization step removes any windows directory traversal sequences from the path. As a workaround, disable any storage module with local asset caching capabilities (Local File System, Git).

INFO

Published Date :

Dec. 6, 2021, 7:15 p.m.

Last Modified :

Dec. 8, 2021, 3:25 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Affected Products

The following products are affected by CVE-2021-43800 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Requarks wiki.js
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-43800.

URL Resource
https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85 Patch Third Party Advisory
https://github.com/Requarks/wiki/releases/tag/2.5.254 Release Notes Third Party Advisory
https://github.com/Requarks/wiki/security/advisories/GHSA-r363-73gj-6j25 Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-43800 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-43800 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Dec. 08, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85 No Types Assigned https://github.com/Requarks/wiki/commit/414033de9dff66a327e3f3243234852f468a9d85 Patch, Third Party Advisory
    Changed Reference Type https://github.com/Requarks/wiki/releases/tag/2.5.254 No Types Assigned https://github.com/Requarks/wiki/releases/tag/2.5.254 Release Notes, Third Party Advisory
    Changed Reference Type https://github.com/Requarks/wiki/security/advisories/GHSA-r363-73gj-6j25 No Types Assigned https://github.com/Requarks/wiki/security/advisories/GHSA-r363-73gj-6j25 Patch, Third Party Advisory
    Added CWE NIST CWE-22
    Added CPE Configuration AND OR *cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:* versions up to (excluding) 2.5.245 OR cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-43800 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.15 }} 0.01%

score

0.51640

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability