Apache Tiles: Unvalidated input may lead to path traversal and XXE
Description
UNSUPPORTED WHEN ASSIGNED
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.apache.tiles:tiles-coreMaven | >= 2.0.0 | — |
org.apache.struts:struts-tilesMaven | >= 1.3.0, <= 1.3.10 | — |
struts:strutsMaven | >= 1.1, <= 1.2.9 | — |
Affected products
4- ghsa-coords3 versionspkg:maven/org.apache.struts/struts-tilespkg:maven/org.apache.tiles/tiles-corepkg:maven/struts/struts
>= 1.3.0, <= 1.3.10+ 2 more
- (no CPE)range: >= 1.3.0, <= 1.3.10
- (no CPE)range: >= 2.0.0
- (no CPE)range: >= 1.1, <= 1.2.9
- Apache Software Foundation/Apache Tilesv5Range: 2.0.0
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-qw4h-3xjj-84ccghsaADVISORY
- lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65pghsavendor-advisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2023-49735ghsaADVISORY
News mentions
0No linked articles in our index yet.