CVE-2024-47818

Logged-in users with any role can delete arbitrary files in @saltcorn/server

Published Oct 7, 2024 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Saltcorn is an extensible, open source, no-code database application builder. A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint. The `dir_name` POST parameter is not validated/sanitized and is used to construct the `syncDir` that is deleted by calling `fs.rm`. This issue has been addressed in release version 1.0.0-beta16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-2925 Saltcorn is an extensible, open source, no-code database application builder. A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint. The `dir_name` POST parameter is not validated/sanitized and is used to construct the `syncDir` that is deleted by calling `fs.rm`. This issue has been addressed in release version 1.0.0-beta16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Github GHSA Github GHSA GHSA-43f3-h63w-p6f6 Saltcorn Server allows logged-in users to delete arbitrary files because of a path traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Saltcorn Collective Ltd
Saltcorn Collective Ltd saltcorn
CPEs cpe:2.3:a:saltcorn_collective_ltd:saltcorn:*:*:*:*:*:*:*:*
Vendors & Products Saltcorn Collective Ltd
Saltcorn Collective Ltd saltcorn
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Saltcorn is an extensible, open source, no-code database application builder. A logged-in user with any role can delete arbitrary files on the filesystem by calling the `sync/clean_sync_dir` endpoint. The `dir_name` POST parameter is not validated/sanitized and is used to construct the `syncDir` that is deleted by calling `fs.rm`. This issue has been addressed in release version 1.0.0-beta16 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Title Logged-in users with any role can delete arbitrary files in @saltcorn/server
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 8, 2024, 2:18 PM
Reserved
Oct 3, 2024, 2:06 PM
Status
Deferred
Published
Oct 7, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:57 AM