CVE-2022-29253
Path Traversal in XWiki Platform
Description
Impact
One can ask for any file located in the classloader using the template API and a path with ".." in it. For example
{{template name="../xwiki.hbm.xml"/}}
To our knownledge none of the available files of the classloader in XWiki Standard contain any strong confidential data, hence the low confidentiality value of this advisory.
Patches
The issue is patched in versions 14.0 and 13.10.3.
Workarounds
There's no easy workaround for this issue, administrators should upgrade their wiki.
References
- https://jira.xwiki.org/browse/XWIKI-19349
- https://github.com/xwiki/xwiki-platform/commit/4917c8f355717bb636d763844528b1fe0f95e8e2
For more information
If you have any questions or comments about this advisory:
- Open an issue in Jira XWiki
- Email us at security mailing list
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.xwiki.platform » xwiki-platform-oldcore | >= 8.3-rc-1, < 13.10.3 | 13.10.3 |
Blast radius
37% of the dependent artifacts (229) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 15,536 |
| 2 hops | 17,034 |
| 3 hops | 8,032 |
| 4 hops | 1,064 |
| 5 hops | 1 |
Most used dependents
- org.xwiki.platform » xwiki-platform-test-docker101 usages
- org.xwiki.platform » xwiki-platform-rest-server85 usages
- org.xwiki.platform » xwiki-platform-tool-packager-plugin77 usages
- org.xwiki.platform » xwiki-platform-administration-ui75 usages
- org.xwiki.platform » xwiki-platform-test-page72 usages
- org.xwiki.platform » xwiki-platform-test-oldcore71 usages
- org.xwiki.platform » xwiki-platform-panels-ui62 usages
- org.xwiki.platform » xwiki-platform-configuration-default57 usages
- com.xwiki.licensing » application-licensing-licensor-api51 usages
- org.xwiki.platform » xwiki-platform-skin-skinx49 usages
- org.xwiki.platform » xwiki-platform-livetable-ui48 usages
- org.xwiki.platform » xwiki-platform-rendering-wikimacro-store47 usages
- org.xwiki.platform » xwiki-platform-uiextension-api47 usages
- org.xwiki.platform » xwiki-platform-webjars-api33 usages
- org.xwiki.platform » xwiki-platform-appwithinminutes-ui31 usages
Computed from the dependency graph of build 20261127.1117 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2022-29253 | nvd.nist.gov |
| Package | xwiki/xwiki-platform | github.com |
| Web | xwiki/xwiki-platform advisory GHSA-9qrp-h7fw-42hg | github.com |
| Web | xwiki/xwiki-platform commit 4917c8f | github.com |
| Web | browse/XWIKI-19349 | jira.xwiki.org |
