CVE-2024-40120 Details
Description
seaweedfs v3.68 was discovered to contain a SQL injection vulnerability via the component /abstract_sql/abstract_sql_store.go.
A SQL injection vulnerability has been identified in SeaweedFS versions prior to 3.69. This vulnerability exists in the Filer Server when MySQL is used as the file metadata database. The issue arises in the 'AbstractSqlStore' component, specifically within the 'ListDirectoryPrefixedEntries' method. The vulnerability allows attackers to manipulate the bucket name parameter, potentially executing arbitrary database operations. Exploitation of this vulnerability could lead to unauthorized data access or modification.
Users can update to SeaweedFS version 3.69 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/sud0why/1b2115c1d644bd3db1c1b3f16684a78c | [email protected] | Exploit |
| https://github.com/seaweedfs/seaweedfs/issues/5710 | [email protected] | ExploitIssue Tracking |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| seaweedfs seaweedfs | 3.68 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2025 | Initial Analysis | [email protected] |
| May 16, 2025 | CVE Modified | CISA-ADP |
| May 16, 2025 | New CVE Received | [email protected] |