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 applicationsLearn about Improper Control of Generation of Code ('Code Injection') vulnerabilities in an interactive lesson.
Start learningUpgrade org.xwiki.platform:xwiki-platform-administration-ui
to version 14.10.15, 15.7-rc-1, 15.5.2 or higher.
Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection') via the administration interface due to improper user input sanitization. An attacker can gain programming rights and execute arbitrary code by injecting malicious content into the XWiki.ConfigurableClass
object within the object editor. This is only exploitable if the attacker can edit wiki pages.
It is possible to manually apply the fixes for the vulnerability by editing two pages in the wiki. This patch must be applied to the page XWiki.ConfigurableClassMacros
. Further, the following patches need to be applied to the page XWiki.ConfigurableClass
:
749f6ae#diff-bf419a99140f3c12fd78ea30f855b63cfb74c1c976ff4436898266d9b37ad3ce
1157c1e#diff-bf419a99140f3c12fd78ea30f855b63cfb74c1c976ff4436898266d9b37ad3ce
Note that also the page XWiki.ConfigurableClass
needs to be changed to xwiki/2.1
syntax for the escaping to work correctly but the security vulnerability is also fixed without changing the syntax.