// For flags

CVE-2022-31166

XWiki.WebHome vulnerable to Improper Privilege Management in XWiki resolving groups

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

XWiki Platform Old Core es un paquete central para XWiki Platform, una plataforma wiki genérica. A partir de las versiones 11.3.7, 11.0.3 y 12.0RC1, es posible explotar un error en la resolución de grupos de XWikiRights para obtener una escalada de privilegios. Más específicamente, la edición de un derecho con el editor de objetos conlleva a una adición de un valor vacío suplementario a los grupos que luego es resuelto como una referencia a la página XWiki.WebHome. Añadiendo un XWikiGroup xobject a esa página entonces es transformada en un grupo, cualquier usuario puesto en ese grupo obtendría entonces los privilegios relacionados con el derecho editado. Ten en cuenta que este problema de seguridad es mitigado normalmente por el hecho de que XWiki.WebHome (y el espacio XWiki en general) debería estar protegido por defecto para los derechos de edición. El problema ha sido parcheado en XWiki versiones 13.10.4 y 14.2RC1 para no considerar más valores vacíos en XWikiRights. Es posible mitigar el problema al establecer los derechos apropiados en la página XWiki.WebHome para evitar que los usuarios la editen

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-05-18 CVE Reserved
  • 2022-09-07 CVE Published
  • 2024-04-28 EPSS Updated
  • 2024-08-03 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-269: Improper Privilege Management
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Xwiki
Search vendor "Xwiki"
Xwiki
Search vendor "Xwiki" for product "Xwiki"
>= 11.3.7 < 13.10.4
Search vendor "Xwiki" for product "Xwiki" and version " >= 11.3.7 < 13.10.4"
-
Affected
Xwiki
Search vendor "Xwiki"
Xwiki
Search vendor "Xwiki" for product "Xwiki"
>= 14.0 < 14.2
Search vendor "Xwiki" for product "Xwiki" and version " >= 14.0 < 14.2"
-
Affected