Skip to content

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

MediumCVSS 6.6 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-oldcore(Maven) < 11.10.5; >= 12.0.0, < 12.2.1 11.10.5, 12.2.1 Fixed
xwiki < 11.10.5; >= 12.0.0, < 12.2.1 11.10.5, 12.2.1 Fixed
xwiki-platform = <11.10.5; = >=12.0.0, <12.2.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-oldcore(Maven) < 11.10.5 11.10.5
org.xwiki.platform/xwiki-platform-oldcore(Maven) >= 12.0.0, < 12.2.1 12.2.1
xwiki < 11.10.5 11.10.5
xwiki >= 12.0.0, < 12.2.1 12.2.1
xwiki-platform = <11.10.5 No fix listed
xwiki-platform = >=12.0.0, <12.2.1 No fix listed

References