Missing authorization in xwiki-platform
xwiki-platform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
xwiki-platform
| Product | Affected | Fixed in |
|---|---|---|
| org.xwiki.platform:xwiki-platform-oldcore Maven |
|
|
XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. In affected versions any user with SCRIPT right can read any file located in the XWiki WAR (for example xwiki.cfg and xwiki.properties) through XWiki#invokeServletAndReturnAsString as `$xwiki.invokeServletAndReturnAsString("/WEB-INF/xwiki.cfg")`. This issue has been patched in XWiki versions 12.10.9, 13.4.3 and 13.7-rc-1. Users are advised to update. The only workaround is to limit SCRIPT right.
From the CVE record · GitHub_M
Affected XWiki Platform versions let a user with SCRIPT right read any file in the XWiki WAR through XWiki#invokeServletAndReturnAsString, including configuration files. Exploitation requires SCRIPT right; no user interaction is described.
Check deployments using Maven package org.xwiki.platform:xwiki-platform-oldcore in versions >=13.6-rc-1 and <13.7-rc-1, >=13.0.0 and <13.4.3, or <12.10.9.