CWE一覧に戻る
CWE-552

外部からアクセス可能なファイルまたはディレクトリ

Files or Directories Accessible to External Parties
脆弱性 レビュー中
JA

この製品は、ファイルやディレクトリを、本来アクセスすべきでないにもかかわらず、許可されていない行為者がアクセスできるようにしています。

ウェブサーバ、FTPサーバ、および同様のサーバは、サーバのユーザがアクセス可能な 「ルート」ディレクトリの下に、一連のファイルを格納することがある。 アプリケーションは、アクセス制御を使用せずに、機密ファイルをこのルートの下に保存することがあります。 別の方法として、アプリケーションは複数のファイルやディレクトリをアーカイブファイル(例えば、ZIPやtar)にパッケージ化するかもしれませんが、アプリケーションはそれらのディレクトリの下にある機密ファイルを除外しないかもしれません。

クラウド技術やコンテナでは、この弱点は、一般ユーザや匿名ユーザが読み書きできる、誤った設定のストレージアカウントの形で現れるかもしれません。

EN

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

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.

Scope: Confidentiality, Integrity / Impact: Read Files or Directories; Modify Files or Directories
When storing data in the cloud (e.g., S3 buckets, Azure blobs, Google Cloud Storage, etc.), use the provider's controls to disable public access.
MITRE公式ページ — CWE-552