Details
Alert Id 40034
Alert Type Active Scan Rule
Status beta
Risk Medium
CWE 215
WASC 13

Summary

One or more .env files seems to have been located on the server. These files often expose infrastructure or administrative account credentials, API or APP keys, or other sensitive configuration information.

Solution

Ensure the .env file is not accessible.

References

Code

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