Auth bypass in Requarks Wiki
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.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS: 0.007 (52.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 52.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Requarks Wiki — versions < 2.5.276
- Requarks Wiki.js
Weakness classification (CWE)
References
- github.com/Requarks/wiki/security/advisories/GHSA-3cv9-795v-6j7j (Patch, Third Party Advisory)
- github.com/Requarks/wiki/commit/411802ec2f654bb5ed1126c307575b81e2361c6b (Patch, Third Party Advisory)
Frequently asked questions
- What is CVE-2022-23654?
- CVE-2022-23654 is a high-severity vulnerability in Requarks Wiki, classified under Improper Authentication. CVSS score: 8.1/10. Published 2022-02-22.
- How severe is CVE-2022-23654?
- High severity. CVSS v3 base score is 8.1 out of 10.