CVE-2024-21648
XWiki has no right protection on rollback action
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
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-platform | >= 15.0-rc-1, < 15.5.3>= 15.6-rc-1, < 15.8-rc-1 | 15.5.3, 15.8-rc-1 |
| org.xwiki.platform » xwiki-platform-oldcore | >= 1.0, < 14.10.17 | 14.10.17 |
Blast radius
62% of the dependent artifacts (642) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 32,522 |
| 2 hops | 34,469 |
| 3 hops | 14,921 |
| 4 hops | 2,491 |
| 5 hops | 117 |
| 6 hops | 2 |
Most used dependents
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- org.xwiki.platform » xwiki-platform-configuration-default57 usages
- org.phenotips » patient-data-api52 usages
- com.xwiki.licensing » application-licensing-licensor-api51 usages
- org.xwiki.platform » xwiki-platform-skin-skinx49 usages
- org.xwiki.platform » xwiki-platform-livetable-ui48 usages
- org.xwiki.platform » xwiki-platform-rendering-wikimacro-store47 usages
- org.xwiki.platform » xwiki-platform-uiextension-api47 usages
- org.phenotips » vocabularies-api46 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-21648 | nvd.nist.gov |
| Package | xwiki/xwiki-platform | github.com |
| Web | xwiki/xwiki-platform advisory GHSA-xh35-w7wg-95v3 | github.com |
| Web | xwiki/xwiki-platform commit 1f3220f | github.com |
| Web | xwiki/xwiki-platform commit 4de7287 | github.com |
| Web | xwiki/xwiki-platform commit 4fa7f30 | github.com |
| Web | browse/XWIKI-21257 | jira.xwiki.org |
