Skip to content
OpenAdvisories
Medium · 6.6 CVE-2020-15171 EUVD-2020-0862GHSA-7qw5-pqhc-xm4g

Users with SCRIPT rights can execute arbitrary code in XWiki

Published Sep 10, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xwiki xwiki-platform <11.10.5, >=12.0.0, <12.2.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-oldcore < 11.10.5 11.10.5 GHSA-7qw5-pqhc-xm4g
Maven org.xwiki.platform:xwiki-platform-oldcore >= 12.0.0, < 12.2.1 12.2.1 GHSA-7qw5-pqhc-xm4g

References