Skip to content

CVE-2021-21380 Rating Script Service expose XWiki to SQL injection

HighCVSS 8.8 EPSS 1.3%
Published
Updated
Exploit status
No public exploit known

Description

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions of XWiki Platform (and only those with the Ratings API installed), the Rating Script Service expose an API to perform SQL requests without escaping the from and where search arguments. This might lead to an SQL script injection quite easily for any user having Script rights on XWiki. The problem has been patched in XWiki 12.9RC1. The only workaround besides upgrading XWiki would be to uninstall the Ratings API in XWiki from the Extension Manager.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
org.xwiki.platform/xwiki-platform-ratings-api(Maven) < 12.9 12.9 Fixed
xwiki = 6.4; = 6.4-milestone3; = 6.4-rc1; >= 6.4.1, <= 12.8 after 12.8 Fixed
xwiki-platform = < 12.9 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.xwiki.platform/xwiki-platform-ratings-api(Maven) < 12.9 12.9
xwiki >= 6.4.1, <= 12.8 No fix listed
xwiki = 6.4 No fix listed
xwiki = 6.4-milestone3 No fix listed
xwiki = 6.4-rc1 No fix listed
xwiki-platform = < 12.9 No fix listed

References