CVE-2022-23654

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:requarks:wiki.js:*:*:*:*:*:*:*:*

History

21 Nov 2024, 06:49

Type Values Removed Values Added
References () https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b - Patch, Third Party Advisory () https://github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b - Patch, Third Party Advisory
References () https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j - Patch, Third Party Advisory () https://github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j - Patch, Third Party Advisory
CVSS v2 : 3.5
v3 : 6.5
v2 : 3.5
v3 : 8.1

24 Jul 2023, 13:50

Type Values Removed Values Added
CWE CWE-287 NVD-CWE-Other

Information

Published : 2022-02-22 20:15

Updated : 2024-11-21 06:49


NVD link : CVE-2022-23654

Mitre link : CVE-2022-23654

CVE.ORG link : CVE-2022-23654


JSON object : View

Products Affected

requarks

  • wiki.js
CWE
CWE-287

Improper Authentication

NVD-CWE-Other