CWE-16
OWASP 2013-A5
OWASP 2017-A6
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N

Custom Error Pages Are Not Configured in WEB-INF/web.xml

Severity:
Medium
Summary

Invicti detected that the web application displays detailed error messages that disclose the server version and detailed stack trace information.


It's recommended to modify the configuration file WEB-INF/web.xml to display custom error pages, preventing the information leakage.

Impact

The detailed error messages contain potentially sensitive information that might help an attacker to conduct further attacks.

Remediation
Required Skills for Successful Exploitation
Actions To Take

Using the following configuration an error page will be displayed whenever the application responds with an HTTP 500 error. You can add additional entries for other HTTP status codes as well:


<error-page>
<error-code>500</error-code>
<location>/path/to/error.jsp</location>
</error-page>

Vulnerability Index

You can search and find all vulnerabilities

Select Vulnerability
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.