CWEweakness
CWE-548 Exposure of Information Through Directory Listing
- Abstraction
- Variant
- Structure
- Simple
- Status
- Draft
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product inappropriately exposes a directory listing with an index of all the resources located inside of the directory.
Common consequences
• 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.
Potential mitigations
• [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.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2023-37599: web interface is configured to allow directory listing of a module path
Related
Observed example · CVE (1)
- CVE-2023-37599 An issue in issabel-pbx v.4.0.0-6 allows a remote attacker to obtain sensitive information via the modules directory vulnerability
Child of · CWE (1)
- CWE-497 Exposure of Sensitive System Information to an Unauthorized Control Sphere weakness
Referenced by CVE · weakness (60)
- CVE-2026-82775 An exposure of information through directory listing issue exists in CONPROSYS M2M Gateway Series and CONPROSYS M2M Controller Series. vulnerability
- CVE-2026-82778 An exposure of information through directory listing issue exists in CONPROSYS PAC Series. vulnerability
- CVE-2026-19987 A security vulnerability has been detected in SourceCodester Best Employee Management System 1.0. vulnerability
- CVE-2026-50233 Lyrion Music Server 9.2.0 contains an arbitrary directory listing vulnerability in its readdirectory query, exposed through both the CLI… vulnerability
- CVE-2025-32750 Dell PowerFlex Manager, version(s) <=4.6.2, contain(s) an Exposure of Information Through Directory Listing vulnerability. vulnerability
- CVE-2026-41933 Vvveb before 1.0.8.3 contains a directory listing information disclosure vulnerability that allows unauthenticated attackers to enumerate… vulnerability
- CVE-2026-22860 Rack is a modular Ruby web server interface. vulnerability
- CVE-2023-38265 IBM Cloud Pak System 2.3.3.6, 2.3.3.7, 2.3.4.0, 2.3.4.1, and 2.3.5.0 could disclose folder location information to an unauthenticated… vulnerability
- CVE-2020-36921 RED-V Super Digital Signage System 5.1.1 contains an information disclosure vulnerability that allows unauthenticated attackers to access… vulnerability
- CVE-2022-50788 SOUND4 IMPACT/FIRST/PULSE/Eco <=2.x contains an information disclosure vulnerability that allows unauthenticated attackers to access… vulnerability
- CVE-2021-47718 OpenBMCS 2.4 contains an information disclosure vulnerability that allows unauthenticated attackers to access sensitive files by exploiting… vulnerability
- CVE-2024-56464 IBM QRadar SIEM 7.5 - 7.5.0 UP14 IF01 is affected by an information disclosure vulnerability involving exposure of directory information. vulnerability
- CVE-2025-13200 A vulnerability was determined in SourceCodester Farm Management System 1.0. vulnerability
- CVE-2025-62396 An error-handling issue in the Moodle router (r.php) could cause the application to display internal directory listings when specific HTTP… vulnerability
- CVE-2025-27906 IBM Content Navigator 3.0.11, 3.0.15, 3.1.0, and 3.2.0 could expose the directory listing of the application upon using an application URL. vulnerability
- CVE-2025-61685 Mastra is a Typescript framework for building AI agents and assistants. vulnerability
- CVE-2025-28170 Grandstream Networks GXP1628 <=1.0.4.130 is vulnerable to Incorrect Access Control. vulnerability
- CVE-2025-2827 IBM Sterling File Gateway 6.0.0.0 through 6.1.2.6, and 6.2.0.0 through 6.2.0.4 could disclose sensitive installation directory information… vulnerability
- CVE-2025-27452 The configuration of the Apache httpd webserver which serves the MEAC300-FNADE4 web application, is partly insecure. vulnerability
- CVE-2025-4909 A vulnerability classified as critical was found in SourceCodester Client Database Management System 1.0. vulnerability
- CVE-2025-4807 A vulnerability, which was classified as problematic, was found in SourceCodester Online Student Clearance System 1.0. vulnerability
- CVE-2025-1138 IBM InfoSphere Information Server 11.7 could disclose sensitive information to an authenticated user that could aid in further attacks… vulnerability
- CVE-2025-45320 A Directory Listing Vulnerability was found in the /osms/Requester/ directory of the Kashipara Online Service Management Portal V1.0. vulnerability
- CVE-2025-23378 Dell PowerScale OneFS, versions 9.4.0.0 through 9.10.0.0, contains an exposure of information through directory listing vulnerability. vulnerability
- CVE-2025-2651 A vulnerability, which was classified as problematic, was found in SourceCodester Online Eyewear Shop 1.0. vulnerability
- CVE-2025-2652 A vulnerability has been found in SourceCodester Employee and Visitor Gate Pass Logging System 1.0 and classified as problematic. vulnerability
- CVE-2025-2038 A vulnerability was found in code-projects Blood Bank Management System 1.0. vulnerability
- CVE-2024-28766 IBM Security Directory Integrator 7.2.0 and IBM Security Verify Directory Integrator 10.0.0 could disclose sensitive information about… vulnerability
- CVE-2024-35113 IBM Control Center 6.2.1 and 6.3.1 could allow an authenticated user to obtain sensitive information exposed through a directory listing. vulnerability
- CVE-2024-8711 A vulnerability, which was classified as problematic, has been found in SourceCodester Food Ordering Management System 1.0. vulnerability