VDB
Sign up
HIGH8.0

GHSA-xh35-w7wg-95v3

XWiki has no right protection on rollback action

Quick fix

GHSA-xh35-w7wg-95v3 — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.

# pom.xml: bump <version>14.10.17</version> for org.xwiki.platform:xwiki-platform-oldcore

Details

### 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](https://github.com/xwiki/xwiki-platform/commit/4de72875ca49602796165412741033bfdbf1e680)

### For more information

If you have any questions or comments about this advisory: * Open an issue in [Jira XWiki.org](https://jira.xwiki.org/) * Email us at [Security Mailing List](mailto:security@xwiki.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 1.0Fixed in: 14.10.17
Fix# pom.xml: bump <version>14.10.17</version> for org.xwiki.platform:xwiki-platform-oldcore
Maven/org.xwiki.platform:xwiki-platform
Introduced in: 15.0-rc-1Fixed in: 15.5.3
Fix# pom.xml: bump <version>15.5.3</version> for org.xwiki.platform:xwiki-platform
Maven/org.xwiki.platform:xwiki-platform
Introduced in: 15.6-rc-1Fixed in: 15.8-rc-1
Fix# pom.xml: bump <version>15.8-rc-1</version> for org.xwiki.platform:xwiki-platform

References