CVE-2021-21380

High

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.

SeverityHigh
CVSS7.7
Exploit probability—
ProductXwiki
PublishedMar 23, 2021
First seenMar 23, 2021
Weakness typeCWE-89SQL injection

How to fix

Update
  • org.xwiki.platform:xwiki-platform-ratings-api12.9 or later

Affected products

ProductAffected versionsFixed in
xwiki xwiki6.4.1 ≤ v ≤ 12.8, 6.4—
org.xwiki.platform:xwiki-platform-ratings-apiMavenv < 12.912.9

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.