CWE-552: Files or Directories Accessible to External Parties

low-risk

The product makes files or directories accessible to unauthorized actors, even though they should not be.

Abstraction: Base

Common Consequences

Confidentiality Read Files or Directories

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

Real-World Examples (10)

CVE CVSS EPSS KEV
CVE-2020-17519 7.5 94.3% Y
CVE-2020-17519 7.5 94.3% Y
CVE-2023-50164 9.8 93.7%
CVE-2021-39316 7.5 93.5%
CVE-2024-6911 7.5 93.3%
CVE-2024-6911 7.5 93.3%
CVE-2023-2766 5.3 91.8%
CVE-2023-33568 7.5 89.8%
CVE-2024-53676 9.8 79.3%
CVE-2016-3715 5.5 77.7% Y
11
/ 100
low-risk
Active Threat 10/50 · Low
Exploit Availability 1/50 · Minimal