Headline
GHSA-jgrg-qvpp-9vwr: XWiki Platform vulnerable to code injection from account through AWM view sheet
Impact
Steps to reproduce:
- As a user without script or programming right, edit your user profile (or any other document) with the wiki editor and add the content
{{groovy}}println("Hello " + "from Groovy!"){{/groovy}}
- Edit the document with the object editor and add an object of type AppWithinMinutes.LiveTableClass (no values need to be set, just save)
- View the document
Patches
The vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.3.
Workarounds
There is no known workaround.
References
https://jira.xwiki.org/browse/XWIKI-20423
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki.org
- Email us at Security Mailing List
XWiki Platform vulnerable to code injection from account through AWM view sheet
Critical severity GitHub Reviewed Published Apr 18, 2023 in xwiki/xwiki-platform • Updated Apr 20, 2023
Related news
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions a user without script or programming right may edit a user profile (or any other document) with the wiki editor and add groovy script content. Viewing the document after saving it will execute the groovy script in the server context which provides code execution. This vulnerability has been patched in XWiki 15.0-rc-1 and 14.10.3. Users are advised to upgrade. There are no known workarounds for this issue.