XWiki RCE via Groovy/Python Macro Pre-14.4.8/15.2/14.10.6
CVE-2023-37914 Published on August 17, 2023

Privilege escalation (PR)/RCE from account through Invitation subject/message
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can view `Invitation.WebHome` can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This vulnerability has been patched on XWiki 14.4.8, 15.2-rc-1, and 14.10.6. Users are advised to upgrade. Users unable to upgrade may manually apply the patch on `Invitation.InvitationCommon` and `Invitation.InvitationConfig`, but there are otherwise no known workarounds for this vulnerability.

Github Repository NVD

Vulnerability Analysis

CVE-2023-37914 is exploitable with network access, and requires small amount of user privileges. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2023-37914. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality and integrity, and a small impact on availability.

Attack Vector:
NETWORK
Attack Complexity:
LOW
Privileges Required:
LOW
User Interaction:
NONE
Scope:
CHANGED
Confidentiality Impact:
HIGH
Integrity Impact:
HIGH
Availability Impact:
LOW

Weakness Type

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2023-37914 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2023-37914

Want to know whenever a new CVE is published for Xwiki? stack.watch will email you.

 

Affected Versions

xwiki-platform: xwiki-platform:

Vulnerable Packages

The following package name and versions may be associated with CVE-2023-37914

Package Manager Vulnerable Package Versions Fixed In
maven org.xwiki.platform:xwiki-platform-invitation-ui >= 2.5-m-1, < 14.4.8 14.4.8
maven org.xwiki.platform:xwiki-platform-invitation-ui >= 14.5, < 14.10.6 14.10.6
maven org.xwiki.platform:xwiki-platform-invitation-ui >= 15.0-rc-1, < 15.2-rc-1 15.2-rc-1

Exploit Probability

EPSS
4.32%
Percentile
88.70%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.