CVE-2022-23654CWE-287

Improper write access check in Requarks/wiki

High · published February 22, 2022

CVSS v3.1
8.1
EPSS
1%
Percentile
53.5
In the wild
Unconfirmed
What it is

Wiki.js is a wiki app built on Node.js. In affected versions an authenticated user with write access on a restricted set of paths can update a page outside the allowed paths by specifying a different target page ID while keeping the path intact. The access control incorrectly check the path access against the user-provided values instead of the actual path associated to the page ID. Commit https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b fixes this vulnerability by checking access control on the path associated with the page ID instead of the user-provided value. When the path is different than the current value, a second access control check is then performed on the user-provided path before the move operation.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00723 · 53.5th percentile
Weakness
CWE-287 · Improper Authentication
Published
2022-02-22T20:05Z
EPSS history
Timeline
  • 22 FEB 20:05Z
    Improper write access check in Requarks/wiki
    cvelistv5