Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CWE-552 (对外部实体的文件或目录可访问) — Vulnerability Class 242

242 vulnerabilities classified as CWE-552 (对外部实体的文件或目录可访问). AI Chinese analysis included.

CWE-552 represents a critical access control weakness where software improperly exposes files or directories to unauthorized external actors. This vulnerability typically arises when applications store sensitive data within a publicly accessible root directory, such as those used by web or FTP servers, without implementing adequate permission restrictions. Attackers exploit this flaw by directly requesting the paths of these unprotected resources, thereby gaining unauthorized access to confidential information like configuration files, user data, or source code. To prevent such breaches, developers must enforce strict access controls, ensuring that only authenticated and authorized users can retrieve specific files. Additionally, separating sensitive data from public web roots and applying robust file permission settings are essential strategies to mitigate the risk of accidental or malicious exposure to external parties.

MITRE CWE Description
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.
Common Consequences (1)
Confidentiality, Integrity Read Files or Directories, Modify Files or Directories
Mitigations (1)
Implementation, System Configuration, Operation 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.
Examples (2)
The following Azure command updates the settings for a storage account:
az storage account update --name <storage-account> --resource-group <resource-group> --allow-blob-public-access true
Bad · Shell
az storage account update --name <storage-account> --resource-group <resource-group> --allow-blob-public-access false
Good · Shell
The following Google Cloud Storage command gets the settings for a storage account named 'BUCKET_NAME':
gsutil iam get gs://BUCKET_NAME
Informative · Shell
{ "bindings":[{ "members":[ "projectEditor: PROJECT-ID", "projectOwner: PROJECT-ID" ], "role":"roles/storage.legacyBucketOwner" }, { "members":[ "allUsers", "projectViewer: PROJECT-ID" ], "role":"roles/storage.legacyBucketReader" } ] }
Bad · JSON
CVE ID Title CVSS Severity Published
CVE-2023-2766 Weaver OA jx2_config.ini file access — OA 5.3 Medium 2023-05-17
CVE-2023-29107 Siemens SIMATIC Cloud Connect 安全漏洞 — SIMATIC Cloud Connect 7 CC712 5.3 Medium 2023-05-09
CVE-2023-1246 Files or Directories Accessible to External Parties in Saysis Starcities — Starcities 7.5 High 2023-03-10
CVE-2022-45052 Local File Inclusion in Axiell Iguana CMS — Iguana 8.8 High 2023-01-04
CVE-2022-2981 Download Monitor < 4.5.98 - Admin+ Arbitrary File Download — Download Monitor 4.9 - 2022-10-10
CVE-2022-39208 Git Repository Disclosure in Onedev — onedev 7.5 High 2022-09-13
CVE-2022-1117 glibc 安全特征问题漏洞 — fapolicyd 8.4 - 2022-08-29
CVE-2021-3856 Red Hat Keycloak 路径遍历漏洞 — keycloak 4.3 - 2022-08-26
CVE-2021-4112 Red Hat Ansible 权限许可和访问控制问题漏洞 — ansible-tower 8.8 - 2022-08-25
CVE-2021-3995 util-linux 权限许可和访问控制问题漏洞 — util-linux 5.5 - 2022-08-23
CVE-2021-3996 util-linux 权限许可和访问控制问题漏洞 — util-linux 5.5 - 2022-08-23
CVE-2022-2392 Lana Downloads Manager < 1.8.0 - Contributor+ Arbitrary File Download — Lana Downloads Manager 6.5 - 2022-08-22
CVE-2022-2357 WSM Downloader <= 1.4.0 - Unauthenticated Arbitrary File Download — WSM Downloader 7.5 - 2022-08-08
CVE-2022-1585 Project Source Code Download <= 1.0.0 - Unauthenticated Backup Download — WordPress project source code download 7.5 - 2022-08-01
CVE-2022-2222 Download Monitor < 4.5.91 - Admin+ Arbitrary File Download — Download Monitor 4.9 - 2022-07-17
CVE-2022-34464 Siemens SICAM GridEdge Essential 安全漏洞 — SICAM GridEdge (Classic) 6.3 Medium 2022-07-12
CVE-2022-32143 CODESYS runtime system prone to directory acces — Runtime Toolkit 8.8 High 2022-06-24
CVE-2021-3717 Wildfly 安全漏洞 — wildfly 7.8 - 2022-05-24
CVE-2022-0656 uDraw < 3.3.3 - Unauthenticated Arbitrary File Access — Web To Print Shop : uDraw 7.5 - 2022-04-25
CVE-2022-24075 Naver Whale Browser 安全漏洞 — NAVER Whale browser 6.5 - 2022-03-17
CVE-2021-32008 Logged-in Administrator may get unrestricted file system access — GateManager 9.9 Critical 2022-03-04
CVE-2021-25004 SEUR Oficial < 1.7.2 - Admin+ Arbitrary File Download — SEUR Oficial 4.9 - 2022-02-07
CVE-2021-33843 Fresenius Kabi Agilia Connect Infusion System files or directories accessible to external parties — Agilia Connect WiFi 5.3 Medium 2022-01-21
CVE-2021-43821 Files Accessible to External Parties in Opencast — opencast 9.9 Critical 2021-12-14
CVE-2021-31850 Denial of Service in Database Security on Windows — McAfee Database Security (DBSec) 6.1 Medium 2021-12-08
CVE-2021-42744 Philips MRI 1.5T and 3T Information Exposure — MRI 1.5T 5.5 - 2021-11-19
CVE-2021-32833 Unauthenticated file read in Emby Server — Emby.Releases 8.6 High 2021-09-09
CVE-2021-34765 Cisco Nexus Insights Authenticated Information Disclosure Vulnerability — Cisco Nexus Insights 4.3 Medium 2021-09-02
CVE-2021-32752 Files or Directories Accessible to External Parties in ether/logs — logs 7.2 High 2021-07-09
CVE-2021-22769 Schneider Electric EnerlinÕX ComÕX 安全漏洞 — Easergy T300 with firmware V2.7.1 and older 4.3 - 2021-06-11

Vulnerabilities classified as CWE-552 (对外部实体的文件或目录可访问) represent 242 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.