CWE-552: Files or Directories Accessible to External Parties

Export to Word

Description

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

Extended Description

Web servers, FTP servers, and similar servers may store a set of files underneath a "root" directory that is accessible to the server's users. Applications may store sensitive files underneath this root without also using access control to limit which users may request those files, if any. Alternately, an application might package multiple files or directories into an archive file (e.g., ZIP or tar), but the application might not exclude sensitive files that are underneath those directories. In cloud technologies and containers, this weakness might present itself in the form of misconfigured storage accounts that can be read or written by a public or anonymous user.


ThreatScore

Threat Mapped score: 0.0

Industry: Finiancial

Threat priority: Unclassified


Observed Examples (CVEs)

Related Attack Patterns (CAPEC)


Attack TTPs

Malware

APTs (Intrusion Sets)

Modes of Introduction

Phase Note
Architecture and Design N/A
Implementation OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase.
Operation OMISSION: This weakness is caused by missing a security tactic during the architecture and design phase.

Common Consequences

Potential Mitigations

Applicable Platforms


Demonstrative Examples

Intro: The following Azure command updates the settings for a storage account:

Body: However, "Allow Blob Public Access" is set to true, meaning that anonymous/public users can access blobs.

az storage account update --name <storage-account> --resource-group <resource-group> --allow-blob-public-access true

Intro: The following Google Cloud Storage command gets the settings for a storage account named 'BUCKET_NAME':

Body: Suppose the command returns the following result:

gsutil iam get gs://BUCKET_NAME

Notes

← Back to CWE list