Katalog CWE

CWE-548 · Słabość

Exposure of Information Through Directory Listing

Abstrakcja
Wariant
Status
Szkic
Dodano
19 lipca 2006
Ostatnia zmiana
30 kwietnia 2026

Podatności CVE z tą słabościąPełny wpis na cwe.mitre.org ↗

Opis

The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.

Skutki

  • Confidentiality

    Read Files or Directories

    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.

Zapobieganie

  • 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.

Przykłady podatności

Słabość nadrzędna

Kiedy powstaje

Dotyczy

Not Language-Specific

Źródła

  1. Directory Indexing — Web Application Security Consortium, 2009
  2. Directory indexing attacks — IBM, 2021

Wpis z katalogu CWE 4.20.