PT-2015-3440 · Apache · Apache Struts

Takayoshi Isayama

·

Published

2015-08-13

·

Updated

2022-05-14

·

CVE-2015-5169

CVSS v2.0

6.4

Medium

VectorAV:N/AC:L/Au:N/C:P/I:P/A:N
Name of the Vulnerable Software and Affected Versions Apache Struts versions prior to 2.3.20
Description The issue is related to a cross-site scripting (XSS) vulnerability. It is associated with the debug mode (devMode) of the Apache Struts platform, where the structure of web pages is not properly protected. This could allow a remote attacker to perform inter-site script attacks. The vulnerability can be exploited when the Struts2 debug mode is turned on under certain conditions, allowing an arbitrary script to be executed in the 'Problem Report' screen. Additionally, if JSP files are directly accessible, it is possible to execute an arbitrary script.
Recommendations For versions prior to 2.3.20, upgrade to Apache Struts 2.3.20 or higher. As a temporary workaround, consider turning off the debug mode in production setups. Restrict access to JSP files by hiding them inside the WEB-INF folder or defining dedicated security constraints to block access to raw JSP files.

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2022-05825
CVE-2015-5169
GHSA-VWHV-J36G-5RM8

Affected Products

Apache Struts