Privilege escalation (PR)/RCE from account through class sheet
Critical severity
GitHub Reviewed
Published
May 9, 2023
in
xwiki/xwiki-platform
•
Updated Nov 12, 2023
Package
Affected versions
>= 3.3-milestone-3, < 14.10.4
Patched versions
14.10.4
Description
Published by the National Vulnerability Database
May 9, 2023
Published to the GitHub Advisory Database
May 11, 2023
Reviewed
May 11, 2023
Last updated
Nov 12, 2023
Impact
It's possible for a user to execute anything with the right of the author of the XWiki.ClassSheet document.
Steps to Reproduce:
DocumentSheetBinding
with valueDefault Class Sheet
{{async}}{{groovy}}println("Hello " + "from groovy!"){{/groovy}}{{/async}}
Expected result:
An error is displayed as the user doesn't have the right to execute the Groovy macro.
Actual result:
The text "Hello from groovy!" is displayed at the top of the document.
Patches
This has been patched in XWiki 15.0-rc-1 and 14.10.4.
Workarounds
There are no known workarounds for it.
References
https://jira.xwiki.org/browse/XWIKI-20566
xwiki/xwiki-platform@de72760
For more information
If you have any questions or comments about this advisory:
References