MEDIUM5.4
GHSA-f4cj-3q3h-884r
Partial authorization bypass on document save in xwiki-platform
Quick fix
GHSA-f4cj-3q3h-884r — org.xwiki.platform:xwiki-platform-oldcore: upgrade to the fixed version with the command below.
# pom.xml: bump <version>13.0</version> for org.xwiki.platform:xwiki-platform-oldcoreDetails
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with SCRIPT right (EDIT right before XWiki 7.4) can save a document with the right of the current user which allow accessing API requiring programming right if the current user has programming right. It has been patched in XWiki 13.0. The only workaround is to give SCRIPT right only to trusted users.
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: 13.0Fix
# pom.xml: bump <version>13.0</version> for org.xwiki.platform:xwiki-platform-oldcoreReferences
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-f4cj-3q3h-884r[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2022-23615[ADVISORY]
- https://github.com/xwiki/xwiki-platform/commit/7ab0fe7b96809c7a3881454147598d46a1c9bbbe[WEB]
- https://github.com/xwiki/xwiki-platform[PACKAGE]
- https://jira.xwiki.org/browse/XWIKI-5024[WEB]