CWE-538

Insertion of Sensitive Information into Externally-Accessible File or Directory

Medium

Description

The product places sensitive information into files or directories that are accessible to actors who are allowed to have access to the files, but not to the sensitive information.

Potential Impact

How to Fix

Architecture and Design

Do not expose file and directory information to the user.

Detection Methods

Related Weaknesses

References

View on MITRE CWE Database →

Need Help Fixing This Vulnerability?

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

Get Security Assessment