Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsUpgrade org.xwiki.platform:xwiki-platform-search-ui
to version 14.10.20, 15.5.4, 15.10-rc-1 or higher.
org.xwiki.platform:xwiki-platform-search-ui is a Platform Search UI which allows searching on the full wiki using wildcards, searching by space, getting search result RSS feeds and more. By default provides a Database-backed search but allows pluging other engines (such as Lucene, Solr and more)
Affected versions of this package are vulnerable to Eval Injection via the database search functionality. An attacker can execute arbitrary code on the server by injecting malicious code into search text. This vulnerability is exploitable by any visitor to a public wiki or a user of a closed wiki, as the database search is accessible by default to all users. This impacts the confidentiality, integrity, and availability of the entire XWiki installation.
This vulnerability can be mitigated by manually applying the patch to the Main.DatabaseSearch
page. Alternatively, the database search page can be deleted as it is not the default search interface of XWiki.
<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