CVE-2022-31166
HIGHDescription
XWiki Platform Old Core is a core package for XWiki Platform, a generic wiki platform. Starting in versions 11.3.7, 11.0.3, and 12.0RC1, it is possible to exploit a bug in XWikiRights resolution of groups to obtain privilege escalation. More specifically, editing a right with the object editor leads to adding a supplementary empty value to groups which is then resolved as a reference to XWiki.WebHome page. Adding an XWikiGroup xobject to that page then transforms it to a group, any user put in that group would then obtain the privileges related to the edited right. Note that this security issue is normally mitigated by the fact that XWiki.WebHome (and XWiki space in general) should be protected by default for edit rights. The problem has been patched in XWiki 13.10.4 and 14.2RC1 to not consider anymore empty values in XWikiRights. It's possible to work around the problem by setting appropriate rights on XWiki.WebHome page to prevent users to edit it.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Exploit Intelligence
Moderate risk: more likely to be exploited than 62% of all known CVEs.
References
Related Vulnerabilities
Other CWE-269 (Improper Privilege Management) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2017-12635 | Critical | 9.8 | 100% | - | Fix |
| CVE-2022-24637 | Critical | 9.8 | 99% | - | Fix |
| CVE-2017-5689 | Critical | 9.8 | 92% | KEV | Fix |
| CVE-2020-3243 | Critical | 9.8 | 88% | - | - |
| CVE-2024-21888 | High | 8.8 | 87% | - | - |
| CVE-2022-0441 | Critical | 9.8 | 85% | - | Fix |
Embed a live status badge for CVE-2022-31166
Markdown
[](https://tridentstack.com/cve/CVE-2022-31166)HTML
<a href="https://tridentstack.com/cve/CVE-2022-31166"><img src="https://tridentstack.com/cve/badge/CVE-2022-31166.svg" alt="CVE-2022-31166"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.