CWE-548 - Exposure of Information Through Directory Listing
- Abstraction:Variant
- Structure:Simple
- Status:Draft
- Release Date:2006-07-19
- Latest Modification Date:2025-04-03
Weakness Name
Exposure of Information Through Directory Listing
Description
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Common Consequences
Scope: Confidentiality
Impact: Read Files or Directories
Notes: Exposing the contents of a directory can lead to an attacker gaining access to source code or providing useful information for the attacker to devise exploits, such as creation times of files or any information that may be encoded in file names. The directory listing may also compromise private or confidential data.
Related Weaknesses
CWE-497Exposure of Sensitive System Information to an Unauthorized Control Sphere
Related Alerts
Directory BrowsingMedium
Directory BrowsingMedium