Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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