Lucene search

K
githubGitHub Advisory DatabaseGHSA-QW4H-3XJJ-84CC
HistoryDec 01, 2023 - 12:31 a.m.

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

2023-12-0100:31:00
CWE-22
CWE-776
GitHub Advisory Database
github.com
25
apache tiles
unvalidated input
path traversal
xxe
defaultlocaleresolver
ssrf
xml definition files
user-controlled data
tiles-test application
version 2
unsupported software

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

6.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

23.1%

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 configurations

Vulners
Node
org.apache.tiles\tilesMatchcore
CPENameOperatorVersion
org.apache.tiles:tiles-corege2.0.0

7.5 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

NONE

Availability Impact

NONE

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

6.8 Medium

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

23.1%