CWE-219

Storage of File with Sensitive Data Under Web Root

Medium

Description

The product stores sensitive data under the web document root with insufficient access control, which might make it accessible to untrusted parties.

Potential Impact

How to Fix

Implementation

Avoid storing information under the web root directory.

System Configuration

Access control permissions should be set to prevent reading/writing of sensitive files inside/outside of the web directory.

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

Our security experts can help you identify and remediate CWE-219 vulnerabilities in your codebase.

Get Security Assessment