Skip to content
OpenAdvisories
High · 8.6 CVE-2024-55663 EUVD-2024-3519GHSA-wh34-m772-5398

XWiki Platform has an SQL injection in getdocuments.vm with sort parameter

Published Dec 12, 2024 · Updated Dec 16, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
xwiki xwiki-platform >= 6.3-milestone-2, < 13.10.5, >= 14.0-rc-1, < 14.3-rc-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.xwiki.platform:xwiki-platform-distribution-war >= 6.3-milestone-2, < 13.10.5 13.10.5 GHSA-wh34-m772-5398
Maven org.xwiki.platform:xwiki-platform-distribution-war >= 14.0-rc-1, < 14.3-rc-1 14.3-rc-1 GHSA-wh34-m772-5398

Advisories 1

References