{"id":"CVE-2022-31167","published":"2022-09-07T13:55:11Z","modified":"2025-04-22T17:23:53Z","title":"XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the…","vendor":"xwiki","product":"xwiki-platform","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00865,"percentile":0.59376,"provenance":"source"},"cwes":[{"id":"CWE-285","name":"Improper Authorization"},{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6","tags":["x_refsource_CONFIRM"]},{"url":"https://jira.xwiki.org/browse/XWIKI-14075","tags":["x_refsource_MISC"]},{"url":"https://jira.xwiki.org/browse/XWIKI-18983","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.88},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"xwiki","affectedVersions":[{"vendor":"xwiki","product":"xwiki-platform","versions":[">= 5.0, < 12.10.11",">= 13.0, < 13.4.6",">= 13.10, < 13.10.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-22T15:44:31.372232Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.xwiki.platform:xwiki-platform-security","vulnerableRanges":[">=5.0, <12.10.11",">=13.0, <13.4.6",">=13.10, <13.10.1"],"patched":["12.10.11","13.4.6","13.10.1"],"from":["GHSA-gg53-wf5x-r3r6"],"provenance":"source"}],"summary":{"text":"The XWiki Platform Security Parent POM, which provides the security APIs for the xwiki-platform product, has a flaw in its security cache: rules for a document and a space sharing the same name (such as Page1.Page2) are stored in one cache entry. An attacker with low-privileged, network-reachable access to the wiki can exploit this by creating a page matching a space's name and having its rights checked first, so that the new page's rights are cached and applied to the space or document as well, overwriting their access rules, with no user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:10:02Z"},"euvd":{"id":"EUVD-2022-6821","exploited":false,"provenance":"source"}}