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.

Severity (CVSS 4.0)8.6High
Exploit odds (30 days)0.8%top 44.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-distribution-war13.10.5GHSA-wh34-m772-5398
Mavenorg.xwiki.platform:xwiki-platform-distribution-war14.3-rc-1GHSA-wh34-m772-5398

Affected products (as reported)

VendorProductVersions
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