CVE-2021-21380
Last modified
CVE-2021-21380 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Xwiki | Xwiki | >= 6.4.1, <= 12.8 |
| Xwiki | Xwiki | 6.4 |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662Issue Tracking, Vendor Advisory
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-79rg-7mv3-jrr5Third Party Advisory
- https://jira.xwiki.org/browse/XWIKI-17662Issue Tracking, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-21380?
How severe is CVE-2021-21380?
How do I fix CVE-2021-21380?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-21375PJSIP is a free and open source multimedia communication lib…6.5
- CVE-2021-21376OMERO.web is open source Django-based software for managing …6.5
- CVE-2021-21377OMERO.web is open source Django-based software for managing …5.4
- CVE-2021-21378Envoy is a cloud-native high-performance edge/middle/service…8.2
- CVE-2021-21379XWiki Platform is a generic wiki platform offering runtime s…5.4
- CVE-2021-2138Vulnerability in the Oracle Cloud Infrastructure Data Scienc…4.6
- CVE-2021-21381Flatpak is a system for building, distributing, and running …8.2
- CVE-2021-21382Restund is an open source NAT traversal server. The restund …9.6
- CVE-2021-21383Wiki.js an open-source wiki app built on Node.js. Wiki.js be…5.4
- CVE-2021-21384shescape is a simple shell escape package for JavaScript. In…7.8
- CVE-2021-21385Mifos-Mobile Android Application for MifosX is an Android Ap…7.4
- CVE-2021-21386APKLeaks is an open-source project for scanning APK file for…9.8
Are you affected by CVE-2021-21380?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
