Apache Struts vulnerable to cross-site scripting


Apache Struts provided by the Apache Software Foundation is a software framework for creating Java web applications. Apache Struts contains a cross-site scripting vulnerability when devMode is left turned on.

Masaki Yoshikawa of LAC Co., Ltd. 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 2.6 (Low) [IPA Score]
  • Access Vector: Network
  • Access Complexity: High
  • 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 web browser.

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

[Apply a Workaround]
If an update cannot be applied, the following workaround can mitigate the affects of this vulnerability.
-Turn off devMode
Vendor Information

Apache Software Foundation Red Hat, Inc. NEC Corporation
  • NEC Security Information : NV17-016 (in Japanese)
CWE (What is CWE?)

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

  1. CVE-2015-5169

  1. JVN : JVN#95989300
  2. National Vulnerability Database (NVD) : CVE-2015-5169
Revision History

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