Skip to content

← Public intelligence

Maven package

org.xwiki.platform:xwiki-platform-menu-ui

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

2 actionable advisories, 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-ui >= 5.1-rc-1, < 14.10.8; >= 15.0-rc-1, < 15.3-rc-1
    Fixed in
    14.10.815.3-rc-1· 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 15.3-rc-1 (pre-release) or 14.10.8 by release line, 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 →
  2. Critical, CVSS 9.9MavenPublished

    Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in org.xwiki.platform:xwiki-platform-menu-ui

    CVE-2022-41934 · GHSA-6w8h-26xx-cf8q

    Affected
    • Maven org.xwiki.platform:xwiki-platform-menu-ui < 13.10.8; >= 14.0.0, < 14.4.3
    Fixed in
    13.10.814.4.3· Vendor fix available
    Issue
    Impact Any user with view rights on commonly accessible documents including the menu macro can execute arbitrary Groovy, Python or Velocity code in XWiki leading to full access to the XWiki installation due to improper escaping of the macro content and parameters of the menu macro. The issue can be demonstrated by opening <server/xwiki/bin/view/Main?sheet=CKEditor.HTMLConverter&language=en&sourceSyntax=xwiki%2F2.1&stripHTMLEnvelope=true&fromHTML=false&toHTML=true&text=%7B%7Bmenu%7D%7D%7B%7Bcache+id%3D%22menuMacro%22%7D%7D%7B%7Bgroovy%7D%7Dprintln%28%22Hello+from+Groovy%21%22%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fcache%7D%7D%7B%7B%2Fmenu%7D%7D where <server is the URL of the XWiki installation. If this displays "Hello from Groovy!", the installation is vulnerable. Patches The problem has been patched in XWiki 14.6RC1, 13.10.8 and 14.4.3. Workarounds The patch for the document Menu.MenuMacro can be manually applied or a XAR archive of a patched version can be imported. The menu macro was…

    Recommended action: Upgrade to 14.4.3 or 13.10.8 by release line, 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 →