7.1high
XWiki Platform Security Parent POM vulnerable to overwriting of security rules of a page with a final page having the same reference
- Severity
- 7.1high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gg53-wf5x-r3r6
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| xwiki xwiki-platform | >= 5.0, < 12.10.11, >= 13.0, < 13.4.6, >= 13.10, < 13.10.1 | CVE List |
| org.xwiki.platform:xwiki-platform-security (Maven) | from 5.0 before 12.10.11, from 13.0 before 13.4.6, from 13.10 before 13.10.1 | GitHub Advisory Database |
| xwiki xwiki | from 5.0 before 12.10.11, from 13.0 before 13.4.6, from 13.5 before 13.10.1 | NVD |
All scores
| GitHub_M | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| GitHub | 7.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
Impact
A bug in the security cache is storing 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.
Patches
The problem has been patched in XWiki 12.10.11, 13.10.1, 13.4.6.
Workarounds
No workaround other than patching.
References
https://jira.xwiki.org/browse/XWIKI-14075 https://jira.xwiki.org/browse/XWIKI-18983
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
NVD (es)
XWiki Platform Security Parent POM contiene las APIs de seguridad para la plataforma XWiki, una plataforma wiki genérica. A partir de la versión 5.0 y anteriores a 12.10.11, 13.10.1 y 13.4.6, un error en la caché de seguridad almacena las reglas asociadas al documento Página1.Página2 y al espacio Página1.Página2 en la misma entrada de la caché. Eso significa que es posible sobrescribir los derechos de un espacio o un documento creando la página del espacio con el mismo nombre y comprobando primero el derecho del nuevo para que acaben en la caché de seguridad y sean usados también para el otro. El problema ha sido parcheado en XWiki versiones 12.10.11, 13.10.1 y 13.4.6. No se presentan mitigaciones conocidas
References
| https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-gg53-wf5x-r3r6 | exploit, issue-tracking, third-party-advisory, web | |
| https://jira.xwiki.org/browse/XWIKI-14075 | permissions-required, vendor-advisory, web | |
| https://jira.xwiki.org/browse/XWIKI-18983 | exploit, issue-tracking, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31167 | advisory | |
| https://github.com/xwiki/xwiki-platform | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31167 changed 2025-04-22 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gg53-wf5x-r3r6 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31167 changed 2026-06-17 | Public domain |