Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.xwiki.platform/xwiki-platform-oldcore
  4. ›
  5. CVE-2024-31464

CVE-2024-31464: XWiki Platform: Password hash might be leaked by diff once the xobject holding them is deleted

April 10, 2024

It is possible to access the hash of a password by using the diff feature of the history whenever the object storing the password is deleted. Using that vulnerability it’s possible for an attacker to have access to the hash password of a user if they have rights to edit the users’ page.

Now with the default right scheme in XWiki this vulnerability is normally prevented on user profiles, except by users with Admin rights. Note that this vulnerability also impacts any extensions that might use passwords stored in xobjects: for those usecases it depends on the right of those pages.

There is currently no way to be 100% sure that this vulnerability has been exploited, as an attacker with enough privilege could have deleted the revision where the xobject was deleted after rolling-back the deletion. But again, this operation requires high privileges on the target page (Admin right). A page with a user password xobject which have in its history a revision where the object has been deleted should be considered at risk and the password should be changed there.

References

  • github.com/advisories/GHSA-v782-xr4w-3vqx
  • github.com/xwiki/xwiki-platform
  • github.com/xwiki/xwiki-platform/commit/9075668a4135cce114ef2a4b72eba3161a9e94c4
  • github.com/xwiki/xwiki-platform/commit/955fb097e02a2a7153f527522ee9eef42447e5d7
  • github.com/xwiki/xwiki-platform/commit/f1eaec1e512220fabd970d053c627e435a1652cf
  • github.com/xwiki/xwiki-platform/security/advisories/GHSA-v782-xr4w-3vqx
  • jira.xwiki.org/browse/XWIKI-19948
  • nvd.nist.gov/vuln/detail/CVE-2024-31464

Code Behaviors & Features

Detect and mitigate CVE-2024-31464 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0-rc-1 before 14.10.19, all versions starting from 15.0-rc-1 before 15.5.4, all versions starting from 15.6-rc-1 before 15.9-rc-1

Fixed versions

  • 14.10.19
  • 15.5.4
  • 15.9-rc-1

Solution

Upgrade to versions 14.10.19, 15.5.4, 15.9-rc-1 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-200: Exposure of Sensitive Information to an Unauthorized Actor

Source file

maven/org.xwiki.platform/xwiki-platform-oldcore/CVE-2024-31464.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.