XWiki Platform Space Admin Escalation & JS Injection via AWM pre-13.10.11
CVE-2023-29515 Published on April 19, 2023

Cross-site scripting (XSS) in xwiki-platform
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user who can create a space can become admin of that space through App Within Minutes. The admin right implies the script right and thus allows JavaScript injection. The vulnerability can be exploited by creating an app in App Within Minutes. If the button should be disabled because the user doesn't have global edit right, the app can also be created by directly opening `/xwiki/bin/view/AppWithinMinutes/CreateApplication?wizard=true` on the XWiki installation. This has been patched in XWiki 13.10.11, 14.4.8, 14.10.1 and 15.0 RC1 by not granting the space admin right if the user doesn't have script right on the space where the app is created. Error message are displayed to warn the user that the app will be broken in this case. Users who became space admin through this vulnerability won't loose the space admin right due to the fix, so it is advised to check if all users who created AWM apps should keep their space admin rights. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Github Repository NVD

Vulnerability Analysis

CVE-2023-29515 can be exploited 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-29515. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality, a high impact on integrity, and no impact on availability.

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

Weakness Type

What is a XSS Vulnerability?

The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

CVE-2023-29515 has been classified to as a XSS vulnerability or weakness.


Products Associated with CVE-2023-29515

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

 

Affected Versions

xwiki-platform:

Vulnerable Packages

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

Package Manager Vulnerable Package Versions Fixed In
maven org.xwiki.platform:xwiki-platform-appwithinminutes >= 4.0-milestone-2, < 4.2-milestone-1 4.2-milestone-1
maven org.xwiki.platform:xwiki-platform-appwithinminutes-ui >= 4.2-milestone-1, < 13.10.11 13.10.11
maven org.xwiki.platform:xwiki-platform-appwithinminutes-ui >= 14.0-rc-1, < 14.4.8 14.4.8
maven org.xwiki.platform:xwiki-platform-appwithinminutes-ui >= 14.5, < 14.10.1 14.10.1

Exploit Probability

EPSS
6.57%
Percentile
91.31%

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.