Skip to content

← Public intelligence

Maven package

org.xwiki.platform:xwiki-platform-search-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

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

  1. Critical, CVSS 9.4MavenPublished

    XWiki Platform vulnerable to remote code execution from account via SearchSuggestConfigSheet

    CVE-2024-37901 · GHSA-h63h-5c77-77p5

    Affected
    • Maven org.xwiki.platform:xwiki-platform-search-ui >= 9.2-rc-1, < 14.10.21; >= 15.0-rc-1, < 15.5.5; >= 15.6-rc-1, < 15.10.2
    Fixed in
    14.10.2115.5.515.10.2· Vendor fix available
    Issue
    Impact Any user with edit right on any page can perform arbitrary remote code execution by adding instances of XWiki.SearchSuggestConfig and XWiki.SearchSuggestSourceClass to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, as a user without script nor programming rights, add an object of type XWiki.SearchSuggestConfig to your profile page, and an object of type XWiki.SearchSuggestSourceClass as well. On this last object, set both name and icon properties to $services.logging.getLogger("attacker").error("I got programming: $services.security.authorization.hasAccess('programming')") and limit and engine to {{/html}}{{async}}{{velocity}}$services.logging.getLogger("attacker").error("I got programming: $services.security.authorization.hasAccess('programming')"){{/velocity}}{{/async}}. Save and display the page. If the logs contain any message ERROR attacker - I got…

    Recommended action: Upgrade to 15.10.2, 15.5.5 or 14.10.21 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 10.0MavenPublished

    XWiki Platform: Remote code execution as guest via DatabaseSearch

    CVE-2024-31982 · GHSA-2858-8cfx-69m9

    Affected
    • Maven org.xwiki.platform:xwiki-platform-search-ui >= 2.4-milestone-1, < 14.10.20; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1
    Fixed in
    15.10-rc-114.10.2015.5.4· Vendor fix available
    Issue
    Impact XWiki's database search allows remote code execution through the search text. This allows remote code execution for any visitor of a public wiki or user of a closed wiki as the database search is by default accessible for all users. This impacts the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, without being logged in, go to <hostname/xwiki/bin/get/Main/DatabaseSearch?outputSyntax=plain&text=%7D%7D%7D%7B%7Basync%20async%3Dfalse%7D%7D%7B%7Bgroovy%7D%7Dprintln%28%22Hello%20from%22%20%2B%20%22%20search%20text%3A%22%20%2B%20%2823%20%2B%2019%29%29%7B%7B%2Fgroovy%7D%7D%7B%7B%2Fasync%7D%7D%20. If the title of the RSS channel contains Hello from search text:42, the instance is vulnerable. Patches This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10RC1. Workarounds It is possible to manually apply this patch to the page Main.DatabaseSearch. Alternatively, unless database search is explicitly used by users,…

    Recommended action: Upgrade to 15.10-rc-1 (pre-release), 15.5.4 or 14.10.20 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 →
  3. Critical, CVSS 9.9MavenPublished

    XWiki Platform: Remote code execution from account via SearchSuggestSourceSheet

    CVE-2024-31465 · GHSA-34fj-r5gq-7395

    Affected
    • Maven org.xwiki.platform:xwiki-platform-search-ui >= 5.2-milestone-2, < 14.10.20; >= 15.0-rc-1, < 15.5.4; >= 15.6-rc-1, < 15.10-rc-1
    Fixed in
    15.10-rc-114.10.2015.5.4· Vendor fix available
    Issue
    Impact Any user with edit right on any page can execute any code on the server by adding an object of type XWiki.SearchSuggestSourceClass to their user profile or any other page. This compromises the confidentiality, integrity and availability of the whole XWiki installation. To reproduce on an instance, as a user without script nor programming rights, add an object of type XWiki.SearchSuggestSourceClass to your profile page. On this object, set every possible property to }}}{{async}}{{groovy}}println("Hello from Groovy!"){{/groovy}}{{/async}} (i.e., name, engine, service, query, limit and icon). Save and display the page, then append ?sheet=XWiki.SearchSuggestSourceSheet to the URL. If any property displays as Hello from Groovy!}}}, then the instance is vulnerable. Patches This vulnerability has been patched in XWiki 14.10.20, 15.5.4 and 15.10 RC1. Workarounds This patch can be manually applied to the document XWiki.SearchSuggestSourceSheet. References…

    Recommended action: Upgrade to 15.10-rc-1 (pre-release), 15.5.4 or 14.10.20 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 →
  4. Critical, CVSS 9.9MavenPublished

    Remote code execution from account through SearchAdmin

    CVE-2023-50721 · GHSA-7654-vfh6-rw6x

    Affected
    • Maven org.xwiki.platform:xwiki-platform-search-ui >= 4.5-rc-1, < 14.10.15; >= 15.0-rc-1, < 15.5.2; >= 15.6-rc-1, < 15.7-rc-1
    Fixed in
    14.10.1515.5.215.7-rc-1· Vendor fix available
    Issue
    Impact The search administration interface doesn't properly escape the id and label of search user interface extensions, allowing the injection of XWiki syntax containing script macros including Groovy macros that allow remote code execution, impacting the confidentiality, integrity and availability of the whole XWiki instance. This attack can be executed by any user who can edit some wiki page like the user's profile (editable by default) as user interface extensions that will be displayed in the search administration can be added on any document by any user. To reproduce, edit any document with the object editor, add an object of type XWiki.UIExtensionClass, set "Extension Point Id" to org.xwiki.platform.search, set "Extension ID" to {{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack from extension id succeeded!"){{/groovy}}{{/async}}, set "Extension Parameters" to label={{async}}{{groovy}}services.logging.getLogger("attacker").error("Attack from label…

    Recommended action: Upgrade to 15.7-rc-1 (pre-release), 15.5.2 or 14.10.15 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 →