First published: Tue Mar 23 2021(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Xwiki | >=6.4.1<=12.8 | |
Xwiki | =6.4 | |
Xwiki | =6.4-milestone3 | |
Xwiki | =6.4-rc1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-21380 is rated as a critical vulnerability due to its potential to expose SQL requests without proper escaping.
To remediate CVE-2021-21380, upgrade your XWiki Platform to a version greater than 12.8 or apply available patches.
CVE-2021-21380 affects XWiki Platform versions from 6.4.1 to 12.8, including other specific milestones and release candidates of 6.4.
Exploitation of CVE-2021-21380 can lead to unauthorized access and manipulation of the database through unescaped SQL queries.
No, CVE-2021-21380 specifically affects installations that have the Ratings API enabled.