CVE-2024-37898
published 2024-07-31CVE-2024-37898: 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…
PriorityP421medium4.3CVSS 3.1
AVNACLPRLUINSUCNILAN
EPSS
0.40%
31.7th percentile
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
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| xwiki | xwiki | < 15.5.5 | 15.5.5 |
| xwiki | xwiki | — | — |
| xwiki | xwiki | >= 13.10.4 < 14.0 | 14.0 |
| xwiki | xwiki | >= 14.2 < 14.10.21 | 14.10.21 |
| xwiki | xwiki | >= 15.6 < 15.10.6 | 15.10.6 |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
| xwiki | xwiki-platform | — | — |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
XWiki Platform vulnerable to document deletion and overwrite from edit
osv·2024-07-31
CVE-2024-37898 [MEDIUM] XWiki Platform vulnerable to document deletion and overwrite from edit
XWiki Platform vulnerable to document deletion and overwrite from edit
### 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 vie
GHSA
XWiki Platform vulnerable to document deletion and overwrite from edit
ghsa·2024-07-31
CVE-2024-37898 [MEDIUM] CWE-862 XWiki Platform vulnerable to document deletion and overwrite from edit
XWiki Platform vulnerable to document deletion and overwrite from edit
### 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 vie
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/xwiki/xwiki-platform/commit/0bc27d6ec63c8a505ff950e2d1792cb4f773c22ehttps://github.com/xwiki/xwiki-platform/commit/56f5d8aab7371d5ba891168f73890806551322c5https://github.com/xwiki/xwiki-platform/commit/c5efc1e519e710afdf3c5f40c0fcc300ad77149fhttps://github.com/xwiki/xwiki-platform/commit/e4968fe268e5644ffd9bfa4ef6257d2796446009https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-33gp-gmg3-hfpqhttps://jira.xwiki.org/browse/XWIKI-21553
2024-07-31
Published