First published: Wed Feb 09 2022(Updated: )
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.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Xwiki | <12.10.9 | |
Xwiki | >=13.4<13.4.3 | |
Xwiki | >=13.4.4<=13.7 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-23621 is rated as a high severity vulnerability.
To fix CVE-2022-23621, upgrade to XWiki version 12.10.10 or 13.4.4 and above.
CVE-2022-23621 affects XWiki versions up to 12.10.9 and versions between 13.4 and 13.4.3.
CVE-2022-23621 allows any user with SCRIPT right to read sensitive files from the XWiki WAR.
There is no known workaround for CVE-2022-23621, so upgrading is the recommended action.