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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 11.10.5 | GHSA-7qw5-pqhc-xm4g |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 12.2.1 | GHSA-7qw5-pqhc-xm4g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-7qw5-pqhc-xm4g x_refsource_CONFIRM