Medium, CVSS 5.4MavenPublished
XWiki App Within Minutes app grants space admin rights that allows cross-site scripting
CVE-2023-29515 · GHSA-44h9-xxvx-pg6x
- Affected
- Maven org.xwiki.platform:xwiki-platform-appwithinminutes >= 4.0-milestone-2, < 4.2-milestone-1
- Fixed in
- 4.2-milestone-1· Vendor fix available
- Issue
- Impact 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. Patches 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. Workarounds The patch can be applied by…
Recommended action: Upgrade to 4.2-milestone-1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.