Vulnerability · Published Feb 9, 2022 · Assigned by GitHub_M
CVE-2022-23621Missing authorization in xwiki-platform
Medium 5.5
In plain English
A medium-severity missing authorization in xwiki-platform from xwiki. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 13.7-rc-1 | GHSA-2jhm-qp48-hv5j |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 13.4.3 | GHSA-2jhm-qp48-hv5j |
| Maven | org.xwiki.platform:xwiki-platform-oldcore | 12.10.9 | GHSA-2jhm-qp48-hv5j |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| xwiki | xwiki-platform | >= 13.6.0, < 13.7-rc-1>= 13.0.0, < 13.4.3< 12.10.9 |
Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:H
References
- https://github.com/xwiki/xwiki-platform/security/advisories/GHSA-2jhm-qp48-hv5j x_refsource_CONFIRM
- https://github.com/xwiki/xwiki-platform/commit/df8bd49b5a4d87a427002c6535fb5b1746ff117a x_refsource_MISC
- https://jira.xwiki.org/browse/XWIKI-18870 x_refsource_MISC