Description (CNA)
Wiki.js through 2.5.314 fails to require path separators when matching START and END page rules, allowing attackers to access pages sharing a prefix with authorized folders. Users granted access to a folder can read and modify unrelated pages with matching prefixes, bypassing intended access controls.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| requarks / Wiki.js | affected 0 through 2.5.314 |
CWE
CWE-863
References
- https://github.com/geo-chen/oss/blob/main/wiki.md#finding-3-page-permission-rule-engine-grants-readwrite-access-to-any-page-whose-path-shares-a-literal-prefix-with-an-allowed-path-no-path-segment-boundary-check
- https://github.com/requarks/wiki/blob/v2.5.314/server/core/auth.js#L252-L263
- https://github.com/requarks/wiki
- https://www.vulncheck.com/advisories/wiki-js-through-2.5.314-path-prefix-matching-authorization-bypass
ADP enrichment
No English description supplied.