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.
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.
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:- Version >= 2.5-m1, < 14.4.8 is affected.
- Version >= 14.5.0, < 14.10.6 is affected.
- Version >= 15.0, < 15.2-rc-1 is affected.
- Version 2.5m1 and below 14.4.8 is affected.
- Version 14.5.0 and below 14.10.6 is affected.
- Version 15.0 and below 15.2-tc-1 is affected.
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 (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.