Apache Struts vulnerable to cross-site scripting


Apache Struts provided by the Apache Software Foundation is a software framework for creating web applications in Java. Apache Struts is vulnerable to cross-site scripting when JSP files can be accessed directly.

Takayoshi Isayama of Mitsui Bussan Secure Directions, Inc. reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V2 Severity:
Base Metrics 4.3 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: None
  • Integrity Impact: Partial
  • Availability Impact: None
Affected Products

Apache Software Foundation
  • Apache Struts versions prior to 2.3.20

Affects of this vulnearbility to Apache Struts 1 is unknown.
As of April 5, 2013, Apache Software Foundation has announced that Apache Strtus 1 is no longer developed or supported.

An arbitrary script may be executed on the user's Internet Explorer when the XSS filter is turned off.

[Update the software]
Update the software according to the information provided by the developer.

The developer also recommends the following:
- Place JSP files under the 'WEB-INF' folder to avoid direct access
- Add a security constraint to the web.xml file
Vendor Information

Apache Software Foundation NEC Corporation
  • NEC Security Information : NV15-020 (in Japanese)
CWE (What is CWE?)

  1. Cross-site Scripting(CWE-79) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2015-2992

  1. JVN : JVN#88408929
Revision History

  • [2015/09/04]
      Web page was published
      Affected Products : Content was added
      Vendor Information : Content was added
      Vendor Information : Content was added