Critical, CVSS 9.0MavenPublished
org.xwiki.platform:xwiki-platform-logging-ui Eval Injection vulnerability
CVE-2023-29213 · GHSA-4655-wh7v-3vmg
- Affected
- Maven org.xwiki.platform:xwiki-platform-logging-ui >= 4.2-milestone-3, < 13.10.11; >= 14.0-rc-1, < 14.4.7; >= 14.5, < 14.10
- Fixed in
- 14.1014.4.713.10.11· Vendor fix available
- Issue
- Impact Steps to reproduce: It is possible to trick a user with programming rights into visiting <xwiki-host/xwiki/bin/view/XWiki/LoggingAdmin?loggeractionset=1&loggername=%7B%7Bcache%7D%7D%7B%7Bgroovy%7D%7Dnew+File%28%22%2Ftmp%2Fexploit.txt%22%29.withWriter+%7B+out+-%3E+out.println%28%22created+from+notification+filter+preferences%21%22%29%3B+%7D%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fcache%7D%7D&loggerlevel=TRACE where <xwiki-host is the URL of your XWiki installation, e.g., by embedding an image with this URL in a document that is viewed by a user with programming rights. Expected result: No file in /tmp/exploit.txt has been created. Actual result: The file /tmp/exploit.txt is been created with content "created from notification filter preferences!". This demonstrates a CSRF remote code execution vulnerability that could also be used for privilege escalation or data leaks (if the XWiki installation can reach remote hosts). Patches The problem has been patched on XWiki 14.4.7, and 14.10.…
Recommended action: Upgrade to 14.10, 14.4.7 or 13.10.11 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.