cve.bz

CVE-2024-31464 xwiki xwiki

4.9 mediumEPSS 0.4%Fix available

Medium (4.9) in xwiki xwiki. EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in org.xwiki.platform:xwiki-platform-oldcore 14.10.19, 15.5.4, 15.9-rc-1.

On this page
XWiki Platform is a generic wiki platform. Starting in version 5.0-rc-1 and prior to versions 14.10.19, 15.5.4, and 15.9-rc-1, 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. 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. a diff, to ensure it's not coming from a password field. As another mitigation, admins should ensure that the user pages are properly protected: the edit right shouldn't be allowed for other users than Admin and owner of the profile (which is the default right). There is not much workaround possible for a privileged user other than upgrading XWiki.

Severity

CVSS 3.1

4.9 medium
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2024-04-12. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-916 Use of Password Hash With Insufficient Computational Effort
CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
OWASP Top 10
A01:2025 Broken Access Control, A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31464 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31464?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31464?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31464 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
xwiki:xwikifrom 5.0 before 14.10.19
xwiki:xwikifrom 15.0 before 15.5.4
xwiki:xwikifrom 15.6 before 15.9

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v782-xr4w-3vqxMavenorg.xwiki.platform:xwiki-platform-oldcore>=5.0-rc-1 <14.10.1914.10.19
GHSA-v782-xr4w-3vqxMavenorg.xwiki.platform:xwiki-platform-oldcore>=15.0-rc-1 <15.5.415.5.4
GHSA-v782-xr4w-3vqxMavenorg.xwiki.platform:xwiki-platform-oldcore>=15.6-rc-1 <15.9-rc-115.9-rc-1

Attack patterns (CAPEC)

  • CAPEC-55 Rainbow Table Password Cracking Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-200 (59).

References

Check your stackJSON