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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-51758— Exported files stored in default (`public`) filesystem if not reconfigured in filament

Quick assessment

Affected
filamentphp filament
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Filament是Filament开源的一个用于加速 Laravel 开发的全栈组件的集合。 Filament 3.2.0至3.2.123之前版本存在安全漏洞,该漏洞源于将public磁盘作为默认磁盘,导致敏感数据在没有适当保护的情况下被访问。

AI Predicted 5.3 Difficulty: Moderate EPSS 0.56% · P47

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-51758

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Exported files stored in default (`public`) filesystem if not reconfigured in filament
Source: CVE Program / CVE List V5
Vulnerability Description
Filament is a collection of full-stack components for accelerated Laravel development. All Filament features that interact with storage use the `default_filesystem_disk` config option. This allows the user to easily swap their storage driver to something production-ready like `s3` when deploying their app, without having to touch multiple configuration options and potentially forgetting about some. The default disk is set to `public` when you first install Filament, since this allows users to quickly get started developing with a functional disk that allows features such as file upload previews locally without the need to set up an S3 disk with temporary URL support. However, some features of Filament such as exports also rely on storage, and the files that are stored contain data that should often not be public. This is not an issue for the many deployed applications, since many use a secure default disk such as S3 in production. However, [CWE-1188](https://cwe.mitre.org/data/definitions/1188.html) suggests that having the `public` disk as the default disk in Filament is a security vulnerability itself. As such, we have implemented a measure to protect users whereby if the `public` disk is set as the default disk, the exports feature will automatically swap it out for the `local` disk, if that exists. Users who set the default disk to `local` or `s3` already are not affected. If a user wants to continue to use the `public` disk for exports, they can by setting the export disk deliberately. This change has been included in the 3.2.123 release and all users who use the `public` disk are advised to upgrade.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
不安全的默认资源初始化
Source: CVE Program / CVE List V5
Vulnerability Title
Filament 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Filament是Filament开源的一个用于加速 Laravel 开发的全栈组件的集合。 Filament 3.2.0至3.2.123之前版本存在安全漏洞,该漏洞源于将public磁盘作为默认磁盘,导致敏感数据在没有适当保护的情况下被访问。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
filamentphp filament >= 3.2.0, < 3.2.123 -

II. Public POCs for CVE-2024-51758

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-51758

请登录查看更多情报信息。

Vendor Advisories for CVE-2024-51758 (1)

Other References for CVE-2024-51758 (1)

IV. Related Vulnerabilities