VDB
Sign up
MEDIUM4.9

GHSA-2gj2-vj98-j2qq

Missing Authorization in User#setDisabledStatus in org.xwiki.platform:xwiki-platform-oldcore

Quick fix

GHSA-2gj2-vj98-j2qq — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.

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

Details

### Impact

It's possible for a user with only Script rights to enable or disable a user: this operation should be only doable for users with admin rights.

### Patches

This problem has been patched in XWiki 13.10.7, 14.4.2 and 14.5RC1.

### Workarounds

There is no workaround other than upgrading the wiki, but note that this only impacts users with Script rights: administrator should take care which users have such right.

### References

* https://jira.xwiki.org/browse/XWIKI-19804 * https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd

### For more information If you have any questions or comments about this advisory: * Open an issue in [JIRA](https://jira.xwiki.org) * Email us at [security ML](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: 11.7RC1Fixed in: 13.10.7
Fix# pom.xml: bump <version>13.10.7</version> for org.xwiki.platform:xwiki-platform-oldcore
Maven/org.xwiki.platform:xwiki-platform-oldcore
Introduced in: 14.0.0Fixed in: 14.4.2
Fix# pom.xml: bump <version>14.4.2</version> for org.xwiki.platform:xwiki-platform-oldcore

References