CVE-2024-55663

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

State
Published
Severity
8.6 High
Published
Dec 12, 2024
Updated
Dec 16, 2024
Reserved
Dec 10, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.08.6 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NGitHub_M

Weaknesses

  • CWE-116 Improper Encoding or Escaping of Output

Affected Products

ProductVersions
xwiki-platformxwiki
  • >= 6.3-milestone-2, < 13.10.5Affected
  • >= 14.0-rc-1, < 14.3-rc-1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.