Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5cmctN212My1qcnI1
Rating Script Service expose XWiki to SQL injection
Impact
This issue impacts only XWiki 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.
Patches
The problem has been patched in XWiki 12.9RC1.
Workarounds
The only workaround besides upgrading XWiki would be to uninstall the Ratings API in XWiki from the Extension Manager.
References
https://jira.xwiki.org/browse/XWIKI-17662
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at our security mailing list
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTc5cmctN212My1qcnI1
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: almost 4 years ago
Updated: almost 2 years ago
CVSS Score: 7.7
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N
EPSS Percentage: 0.00104
EPSS Percentile: 0.43559
Identifiers: GHSA-79rg-7mv3-jrr5, CVE-2021-21380
References:
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5
- https://nvd.nist.gov/vuln/detail/CVE-2021-21380
- https://jira.xwiki.org/browse/XWIKI-17662
- https://github.com/advisories/GHSA-79rg-7mv3-jrr5
Blast Radius: 1.0
Affected Packages
maven:org.xwiki.platform:xwiki-platform-ratings-api
Affected Version Ranges: < 12.9Fixed in: 12.9