CVE-2024-37898
Description
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. When a user has view but not edit right on a page in XWiki, that user can delete the page and replace it by a page with new content without having delete right. The previous version of the page is moved into the recycle bin and can be restored from there by an admin. As the user is recorded as deleter, the user would in theory also be able to view the deleted content, but this is not directly possible as rights of the previous version are transferred to the new page and thus the user still doesn't have view right on the page. It therefore doesn't seem to be possible to exploit this to gain any rights. This has been patched in XWiki 14.10.21, 15.5.5 and 15.10.6 by cancelling save operations by users when a new document shall be saved despite the document's existing already.
Weakness
- CWE-862: Missing Authorization
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-07-31 |
Timeline
- 2024-07-31Published by the CNA15:12 UTC
- 2024-07-31GitHub advisory published (GHSA-33gp-gmg3-hfpq)same day
- 2024-07-31CISA SSVC decision recordedsame day
Exploit and advisory records
GitHub advisory GHSA-33gp-gmg3-hfpq, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.xwiki.platform:xwiki-platform-oldcore | from 13.10.4 before 14.10.21 | 14.10.21 |
| Maven org.xwiki.platform:xwiki-platform-oldcore | from 14.2 before 14.10.21 | 14.10.21 |
| Maven org.xwiki.platform:xwiki-platform-oldcore | from 15.0 before 15.5.5 | 15.5.5 |
| Maven org.xwiki.platform:xwiki-platform-oldcore | from 15.6-rc-1 before 15.10.6 | 15.10.6 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| xwiki xwiki | from 13.10.4 before 14.0fixed in 14.0from 14.2 before 14.10.21fixed in 14.10.21from 15.6 before 15.10.6fixed in 15.10.6after 15.0 before 15.5.5fixed in 15.5.515.0no fix listed | 14.014.10.2115.10.615.5.5not listed |
References
- https://github.com/xwiki/xwiki-platform/commit/0bc27d6ec63c8a505ff950e2d1792cb4f773c22e
- https://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f73890806551322c5
- https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fcc300ad77149f
- https://github.com/xwiki/xwiki-platform/commit/e4968fe268e5644ffd9bfa4ef6257d2796446009
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-33gp-gmg3-hfpq
- https://jira.xwiki.org/browse/XWIKI-21553
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2024-37898'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2024-37898'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2024-37898'curl 'https://api.contrastcyber.com/cve_products/CVE-2024-37898'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).