Vulnerability · Published Dec 12, 2024 · Assigned by GitHub_M
CVE-2024-55663XWiki Platform has an SQL injection in getdocuments.vm with sort parameter
High 8.6
In plain English
A high-severity security flaw in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 55% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 13.10.5 | GHSA-wh34-m772-5398 |
| Maven | org.xwiki.platform:xwiki-platform-distribution-war | 14.3-rc-1 | GHSA-wh34-m772-5398 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 6.3-milestone-2, < 13.10.5>= 14.0-rc-1, < 14.3-rc-1 |
Weakness: CWE-116 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-wh34-m772-5398 x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/673076e2e8b88a36cdeaf7007843aa9ca1a068a0 x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-17568 x_refsource_MISC