CVE-2022-31167

Public Exploit
XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference

Description

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.

Categories

7.1
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.29%
Vendor Advisory xwiki.org Vendor Advisory xwiki.org
Affected: xwiki xwiki-platform
Published at:
Updated at:

References

Link Tags
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6 issue tracking exploit third party advisory
https://jira.xwiki.org/browse/XWIKI-14075 permissions required vendor advisory
https://jira.xwiki.org/browse/XWIKI-18983 issue tracking exploit vendor advisory

Frequently Asked Questions

What is the severity of CVE-2022-31167?
CVE-2022-31167 has been scored as a high severity vulnerability.
How to fix CVE-2022-31167?
To fix CVE-2022-31167, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-31167 being actively exploited in the wild?
It is possible that CVE-2022-31167 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-31167?
CVE-2022-31167 affects xwiki xwiki-platform.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.