Details
Alert Id 90022
Alert Type Passive Scan Rule
Status release
Risk Medium
CWE 200
WASC 13

Summary

This page contains an error/warning message that may disclose sensitive information like the location of the file that produced the unhandled exception. This information can be used to launch further attacks against the web application. The alert could be a false positive if the error message is found inside a documentation page.

Solution

Review the source code of this page. Implement custom error pages. Consider implementing a mechanism to provide a unique error reference/identifier to the client (browser) while logging the details on the server side and not exposing them to the user.

References

Code

org/zaproxy/zap/extension/pscanrules/ApplicationErrorScanRule.java