CVE-2024-55663 XWiki Platform has an SQL injection in getdocuments.vm with sort parameter
HighCVSS 8.6
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
XWiki Platform is a generic wiki platform. Starting in version 6.3-milestone-2 and prior to versions 13.10.5 and 14.3-rc-1, in getdocument.vm; the ordering of the returned documents is defined from an unsanitized request parameter (request.sort) and can allow any user to inject HQL. Depending on the used database backend, the attacker may be able to not only obtain confidential information such as password hashes from the database, but also execute UPDATE/INSERT/DELETE queries. This has been patched in 13.10.5 and 14.3-rc-1. There is no known workaround, other than upgrading XWiki.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| org.xwiki.platform/xwiki-platform-distribution-war(Maven) | >= 6.3-milestone-2, < 13.10.5; >= 14.0-rc-1, < 14.3-rc-1 | 13.10.5, 14.3-rc-1 | Fixed |
| xwiki | = 6.3; = 6.3-milestone2; = 6.3-rc1; >= 6.4, < 13.10.5 +1 more | 13.10.5, 14.3 | Fixed |
| xwiki-platform | = >= 6.3-milestone-2, < 13.10.5; = >= 14.0-rc-1, < 14.3-rc-1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform/xwiki-platform-distribution-war(Maven) | >= 6.3-milestone-2, < 13.10.5 | 13.10.5 |
| org.xwiki.platform/xwiki-platform-distribution-war(Maven) | >= 14.0-rc-1, < 14.3-rc-1 | 14.3-rc-1 |
| xwiki-platform | = >= 6.3-milestone-2, < 13.10.5 | No fix listed |
| xwiki-platform | = >= 14.0-rc-1, < 14.3-rc-1 | No fix listed |
| xwiki | >= 6.4, < 13.10.5 | 13.10.5 |
| xwiki | >= 14.0, < 14.3 | 14.3 |
| xwiki | = 6.3 | No fix listed |
| xwiki | = 6.3-milestone2 | No fix listed |
| xwiki | = 6.3-rc1 | No fix listed |
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wh34-m772-5398 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/xwiki/xwiki-platform/commit/673076e2e8b88a36cdeaf7007843aa9ca1a068a0 patch
- github.com product
- https://jira.xwiki.org/browse/XWIKI-17568 vendor-advisory
- github.com