Details
Alert Id 40035
Alert Type Active Scan Rule
Status beta
Risk Medium
CWE 538
WASC 13

Summary

A sensitive file was identified as accessible or available. This may leak administrative, configuration, or credential information which can be leveraged by a malicious individual to further attack the system or conduct social engineering efforts.

Solution

Consider whether or not the component is actually required in production, if it isn't then disable it. If it is then ensure access to it requires appropriate authentication and authorization, or limit exposure to internal systems or specific source IPs, etc.

References

Code

org/zaproxy/zap/extension/ascanrulesBeta/HiddenFilesScanRule.java