| Package | Affected versions | Patched versions |
|---|---|---|
| org.xwiki.commons:xwiki-commons-classloader-api | ≥ 17.0.0-rc-1, < 17.4.9≥ 17.5.0, < 17.10.3≥ 18.0.0-rc-1, < 18.1.0-rc-1≥ 4.2-milestone-2, < 16.10.17 | 17.4.917.10.318.1.0-rc-116.10.17 |
It's possible to get access and read configuration files by using URLs such as http://localhost:8080/bin/ssx/Main/WebHome?resource=/../../WEB-INF/xwiki.cfg&minify=false.
This can apparently be reproduced on Tomcat instances.
This has been patched in 18.0.0-rc-1, 17.10.3, 17.4.9, 16.10.17.
There is no known workaround, other than upgrading XWiki.
If you have any questions or comments about this advisory:
The vulnerability was reported by Michał Kołek.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free