GitHub Advisoryadvisory · Maven
GHSA-xh35-w7wg-95v3 XWiki has no right protection on rollback action
HIGH
Official page ↗
- Aliases
- CVE-2024-21648
- Ecosystem
- Maven
- Packages
- org.xwiki.platform:xwiki-platform-oldcore, org.xwiki.platform:xwiki-platform
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-274
- Reviewed
- 2024-01-08
Affected packages
• Maven org.xwiki.platform:xwiki-platform-oldcore: >= 1.0, < 14.10.17 → fixed in 14.10.17
• Maven org.xwiki.platform:xwiki-platform: >= 15.0-rc-1, < 15.5.3 → fixed in 15.5.3
• Maven org.xwiki.platform:xwiki-platform: >= 15.6-rc-1, < 15.8-rc-1 → fixed in 15.8-rc-1
Description
Impact
The rollback action is missing a right protection: it means that a user can rollback to a previous version of the page to gain rights they don't have anymore.
This vulnerability impacts all version of XWiki since rollback action is available.
Patches
The problem has been patched in XWiki 14.10.16, 15.5.3 and 15.8-rc-1 by ensuring that the rights are checked before performing the rollback.
Workarounds
There's no workaround for this vulnerability, except paying attention to delete old versions of documents that could allow users to gain more rights.
References
• JIRA ticket: https://jira.xwiki.org/browse/XWIKI-21257
• Commit: 4de72875ca49602796165412741033bfdbf1e680
For more information
If you have any questions or comments about this advisory:
• Open an issue in Jira XWiki.org
• Email us at Security Mailing List
Related
Alias · CVE (1)
- CVE-2024-21648 XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. vulnerability
Weakness · CWE (1)
- CWE-274 Improper Handling of Insufficient Privileges weakness
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-xh35-w7wg-95v3 web
- https://nvd.nist.gov/vuln/detail/CVE-2024-21648 advisory
- https://github.com/xwiki/xwiki-platform/commit/1f3220f14bb3a4dcbd10d31134c39a06037f9a74 web
- https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680 web
- https://github.com/xwiki/xwiki-platform/commit/4fa7f302b14da6f05a6904a14e3741c4c06c40a1 web
- https://github.com/xwiki/xwiki-platform package
- https://jira.xwiki.org/browse/XWIKI-21257 web