Skip to content

← Public intelligence

Maven package

org.xwiki.platform:xwiki-platform-menu

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. High, CVSS 8.8MavenPublished

    Privilege escalation (PR)/remote code execution from account through Menu.UIExtensionSheet

    CVE-2023-37909 · GHSA-v2rr-xw95-wcjx

    Affected
    • Maven org.xwiki.platform:xwiki-platform-menu >= 5.1-rc-1, < 14.10.8
    Fixed in
    14.10.8· Vendor fix available
    Issue
    Impact Any user who can edit their own user profile can execute arbitrary script macros including Groovy and Python macros that allow remote code execution including unrestricted read and write access to all wiki contents. This can be reproduced with the following steps: 1. As an advanced user, use the object editor to add an object of type UIExtensionClass to your user profile. Set the value "Extension Point ID" to {{/html}}{{async async=false cache=false}}{{groovy}}println("Hello from Groovy!"){{/groovy}}{{/async}} 2. Open <xwiki-host/xwiki/bin/edit/XWiki/<username?sheet=Menu.UIExtensionSheet where <xwiki-host is the URL of your XWiki installation and <username is your user name. If the text Hello from Groovy!" selected="selected" is displayed in the output, the attack succeeded. Patches This has been patched in XWiki 14.10.8 and 15.3 RC1 by adding proper escaping. Workarounds The patch can be manually applied to the document Menu.UIExtensionSheet, only three lines need to be…

    Recommended action: Upgrade to 14.10.8 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →