Vulnerability · Published Jul 31, 2024 · Assigned by GitHub_M

CVE-2024-37898XWiki Platform vulnerable to document deletion and overwrite from edit

Medium 4.3

In plain English

A medium-severity missing authorization 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.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.3Medium
Exploit odds (30 days)0.4%top 65.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.xwiki.platform:xwiki-platform-oldcore14.10.21GHSA-33gp-gmg3-hfpq
Mavenorg.xwiki.platform:xwiki-platform-oldcore14.10.21GHSA-33gp-gmg3-hfpq
Mavenorg.xwiki.platform:xwiki-platform-oldcore15.5.5GHSA-33gp-gmg3-hfpq
Mavenorg.xwiki.platform:xwiki-platform-oldcore15.10.6GHSA-33gp-gmg3-hfpq

Affected products (as reported)

VendorProductVersions
xwiki xwiki-platform >= 13.10.4, < 14.0-rc-1>= 14.2, < 14.10.21>= 15.0, < 15.5.5>= 15.6-rc-1, < 15.10.6

Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N

References