En bref
- CVE-2021-21380 est une vulnérabilité ÉLEVÉE (CVSS 8.8) touchant org.xwiki.platform:xwiki-platform-ratings-api, xwiki (xwiki).
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 1.3%, plus élevée que 71.4% des vulnérabilités.
- Correctif : mettre à jour vers 12.9 ou plus récent.
Description
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:
NVD 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free