Summary

Netsparker detected Struts2 development mode is enabled, so the target web server is disclosing stack trace data in the HTTP response.

Development mode enables extra debugging behaviors that assist developers, as well as attackers.

Impact
An attacker can obtain information such as:
  • Stack trace.
  • Information about the generated exception.
This information might help an attacker gain more information and potentially to focus on the development of further attacks to the target system.
Remediation
Change your WEB-INF/classes/struts.properties file to disable development mode:
	struts.devMode=false
Classifications
PCI v3.1-6.5.5, PCI v3.2-6.5.5, CAPEC-214, WASC-14, OWASP 2013-A5 , CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:H/RL:O/RC:C