Lucene search

K
githubGitHub Advisory DatabaseGHSA-33GP-GMG3-HFPQ
HistoryJul 31, 2024 - 3:20 p.m.

XWiki Platform vulnerable to document deletion and overwrite from edit

2024-07-3115:20:02
CWE-862
GitHub Advisory Database
github.com
5
xwiki
security
vulnerability
deletion
overwrite
unauthorized
edit
patch
workaround

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

7.1

Confidence

Low

EPSS

0.001

Percentile

41.1%

Impact

When a user has edit but not view 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. From all we examined, it therefore doesn’t seem to be possible to exploit this to gain any rights.

To reproduce, just replace view by edit in the URL of a page that you cannot view but edit and save. This should send the page to the recycle bin and replace it by an empty one if the XWiki installation is vulnerable. After the fix, an error is displayed when saving.

Patches

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.

Workarounds

We’re not aware of any workarounds.

References

Affected configurations

Vulners
Node
org.xwiki.platformxwiki-platform-oldcoreRange15.6-rc-115.10.6
OR
org.xwiki.platformxwiki-platform-oldcoreRange15.015.5.5
OR
org.xwiki.platformxwiki-platform-oldcoreRange14.214.10.21
OR
org.xwiki.platformxwiki-platform-oldcoreRange13.10.414.0-rc-1
VendorProductVersionCPE
org.xwiki.platformxwiki-platform-oldcore*cpe:2.3:a:org.xwiki.platform:xwiki-platform-oldcore:*:*:*:*:*:*:*:*

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

LOW

Availability Impact

NONE

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

AI Score

7.1

Confidence

Low

EPSS

0.001

Percentile

41.1%

Related for GHSA-33GP-GMG3-HFPQ