Auth bypass in Xwiki
CVE-2022-31167
XWiki Platform Security Parent POM contains the security APIs for XWiki Platform, a generic wiki platform. Starting with version 5.0 and prior to 12.10.11, 13.10.1, and 13.4.6, a bug in the security cache stores rules associated to document Page1.Page2 and space Page1.Page2 in the same cache entry. That means that it's possible to overwrite the rights of a space or a document by creating the page of the space with the same name and checking the right of the new one first so that they end up in the security cache and are used for the other too. The problem has been patched in XWiki 12.10.11, 13.10.1, and 13.4.6. There are no known workarounds.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N.
EPSS exploit prediction
EPSS 0.008, 58.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Xwiki
- Xwiki Xwiki-Platform — versions >= 5.0, < 12.10.11, >= 13.0, < 13.4.6, >= 13.10, < 13.10.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (karimhabush/cyberowl). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6 (Exploit, Third Party Advisory, Issue Tracking)
- jira.xwiki.org/browse/XWIKI-14075 (Permissions Required, Vendor Advisory)
- jira.xwiki.org/browse/XWIKI-18983 (Exploit, Issue Tracking, Vendor Advisory)