HIGH 7.5

CVE-2023-49735

Apache Tiles: Unvalidated input may lead to path traversal and XXE

Description

The value set as the DefaultLocaleResolver.LOCALE_KEY attribute on the session was not validated while resolving XML definition files, leading to possible path traversal and eventually SSRF/XXE when passing user-controlled data to this key. Passing user-controlled data to this key may be relatively common, as it was also used like that to set the language in the 'tiles-test' application shipped with Tiles.

This issue affects Apache Tiles from version 2 onwards.

NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Affected Maven artifacts (3)

ArtifactAffected versionsFixed in
org.apache.struts » struts-tiles
>= 1.3.0, <= 1.3.10
-
org.apache.tiles » tiles-core
>= 2.0.0
-
struts » struts
>= 1.1, <= 1.2.9
-

Blast radius

3affected artifacts
32affected versions
6,941dependent artifacts (est.)
874,943dependent versions

100% of the dependent artifacts (6,941) still pull an affected version in their latest release.

DepthDependent versions
Direct
3,025
2 hops
33,756
3 hops
108,524
4 hops
240,353
5 hops
244,253
6 hops
245,032

Most used dependents

Computed from the dependency graph of build 20261124.0621 (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

Advisorynvd.nist.gov
Packagegithub.com
Weblists.apache.org