Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.tiles/tiles-core
  4. ›
  5. CVE-2023-49735

CVE-2023-49735: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

December 1, 2023 (updated December 11, 2023)

** 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.

References

  • github.com/advisories/GHSA-qw4h-3xjj-84cc
  • lists.apache.org/thread/8ktm4vxr6vvc1qsxh6ft8jzmom1zl65p
  • nvd.nist.gov/vuln/detail/CVE-2023-49735

Code Behaviors & Features

Detect and mitigate CVE-2023-49735 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0

Solution

Unfortunately, there is no solution available yet

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

maven/org.apache.tiles/tiles-core/CVE-2023-49735.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:36 +0000.