Vulnerability · Published Sep 10, 2020 · Assigned by GitHub_M

CVE-2020-15171Users with SCRIPT rights can execute arbitrary code in XWiki

Medium 6.6

In plain English

A medium-severity code injection in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.6Medium
Exploit odds (30 days)1.3%top 28.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

In XWiki before versions 11.10.5 or 12.2.1, any user with SCRIPT right (EDIT right before XWiki 7.4) can gain access to the application server Servlet context which contains tools allowing to instantiate arbitrary Java objects and invoke methods that may lead to arbitrary code execution. The only workaround is to give SCRIPT right only to trusted users.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-oldcore11.10.5GHSA-7qw5-pqhc-xm4g
Mavenorg.xwiki.platform:xwiki-platform-oldcore12.2.1GHSA-7qw5-pqhc-xm4g

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform <11.10.5>=12.0.0, <12.2.1

Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

References