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-oldcoreDetails
### 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
11.7RC1Fixed in: 13.10.7# pom.xml: bump <version>13.10.7</version> for org.xwiki.platform:xwiki-platform-oldcore14.0.0Fixed in: 14.4.2# pom.xml: bump <version>14.4.2</version> for org.xwiki.platform:xwiki-platform-oldcoreReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2gj2-vj98-j2qq[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-41929[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/0b732f2ef0224e2aaf10e2e1ef48dbd3fb6e10cd[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-19804[WEB]