VariantDraft
CWE-548Exposure of Information Through Directory Listing
Category: data-exposure
Description
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Common consequences· 1
- Confidentiality — Read Files or DirectoriesExposing 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.
Potential mitigations· 1
- [Architecture and Design, System Configuration]Recommendations include restricting access to important directories or files by adopting a need to know requirement for both the document and server root, and turning off features such as Automatic Directory Listings that could expose private files and provide information that could be utilized by an attacker when formulating or conducting an attack.
References
Compliance frameworks addressing this (incoming)4
| Type | Target | Confidence | Tier |
|---|---|---|---|
| ComplianceControl | iso27701-a.7.4.5 | 100% | live |
| ComplianceControl | pci_dss_v4-r12 | 100% | live |
| ComplianceControl | cis_v8-3 | 100% | live |
| ComplianceControl | owasp_api_top10-api08 | 100% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.