SQL Injection in Xwiki
CVE-2021-21380
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.
Vulnerability class: SQL Injection
EPSS: 0.013 (68.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N.
Affected products
- Xwiki — versions 6.4
- Xwiki Xwiki-platform — versions < 12.9
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (x_refsource_MISC, Issue Tracking, Vendor Advisory)
Frequently asked questions
- What is CVE-2021-21380?
- CVE-2021-21380 is a high-severity vulnerability in Xwiki, classified under SQL Injection. CVSS score: 7.7/10. Published 2021-03-23.
- How severe is CVE-2021-21380?
- High severity. CVSS v3 base score is 7.7 out of 10.
- Is CVE-2021-21380 known to be exploited?
- 7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.