Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
2.1.0, 2.1.1
-
None
-
EL support enabled
-
Important
Description
Tiles 2.1.x allows, with the correct configuration, to use EL expressions in Tiles configuration files.
The problem is that, if attribute values or templates are defined using some JSP tags (tiles:putAttribute, tiles:insertTemplate), the EL expression is evaluated twice, one by the container, one by the ELAttributeEvaluator class.
Now, if at the first evaluation the EL expression is connected to a user-entered content, it could be maliciously exploited to access the server context.
Therefore, there could be an unwanted exposure of server data or XSS attacks.