CVE-2022-31166
XWiki Platform XWikiRights Group Privilege Escalation Vulnerability
Description
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.
INFO
Published Date :
Sept. 7, 2022, 2:15 p.m.
Last Modified :
Sept. 13, 2022, 10:43 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2022-31166 has a 1 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-31166
.
URL | Resource |
---|---|
https://github.com/xwiki/xwiki-platform/pull/1800 | Patch Third Party Advisory |
https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g4h6-qp44-wqvx | Third Party Advisory |
https://jira.xwiki.org/browse/XWIKI-15776 | Vendor Advisory |
https://jira.xwiki.org/browse/XWIKI-18386 | Exploit Permissions Required Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-31166
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-31166
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Sep. 13, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/xwiki/xwiki-platform/pull/1800 No Types Assigned https://github.com/xwiki/xwiki-platform/pull/1800 Patch, Third Party Advisory Changed Reference Type https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g4h6-qp44-wqvx No Types Assigned https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-g4h6-qp44-wqvx Third Party Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-15776 No Types Assigned https://jira.xwiki.org/browse/XWIKI-15776 Vendor Advisory Changed Reference Type https://jira.xwiki.org/browse/XWIKI-18386 No Types Assigned https://jira.xwiki.org/browse/XWIKI-18386 Exploit, Permissions Required, Vendor Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 11.3.7 up to (excluding) 13.10.4 *cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:* versions from (including) 14.0 up to (excluding) 14.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-31166
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-31166
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.32 }} 0.06%
score
0.70223
percentile