LOW 2.7

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:

Affected Maven artifacts (1)

ArtifactAffected versionsFixed in
org.xwiki.platform » xwiki-platform-oldcore
>= 8.3-rc-1, < 13.10.3
13.10.3

Blast radius

1affected artifacts
199affected versions
609dependent artifacts (est.)
41,667dependent versions

37% of the dependent artifacts (229) still pull an affected version in their latest release.

DepthDependent versions
Direct
15,536
2 hops
17,034
3 hops
8,032
4 hops
1,064
5 hops
1

Most used dependents

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.