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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:*

History

24 Mar 2021, 15:08

Type Values Removed Values Added
CPE cpe:2.3:a:xwiki:xwiki:*:*:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:-:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:rc1:*:*:*:*:*:*
cpe:2.3:a:xwiki:xwiki:6.4:milestone3:*:*:*:*:*:*
CWE CWE-89
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 8.8
References (CONFIRM) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5 - (CONFIRM) https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5 - Third Party Advisory
References (MISC) https://jira.xwiki.org/browse/XWIKI-17662 - (MISC) https://jira.xwiki.org/browse/XWIKI-17662 - Issue Tracking, Vendor Advisory

23 Mar 2021, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-03-23 23:15

Updated : 2023-12-10 13:41


NVD link : CVE-2021-21380

Mitre link : CVE-2021-21380

CVE.ORG link : CVE-2021-21380


JSON object : View

Products Affected

xwiki

  • xwiki
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')