Summary

Netsparker identified a stack trace disclosure (Apache MyFaces) in the target web server's HTTP response.

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 focus on the development of further attacks for the target system.

Remediation
Apply the following configuration to your web.xml file to prevent information leakage by applying custom error pages.
<error-page>
        <error-code>500</error-code>
        <location>/server_error.html</location>
</error-page>
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