Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/
- https://github.com/saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83a07
- https://github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6
FAQ
What is CVE-2024-47818?
CVE-2024-47818 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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....
How severe is CVE-2024-47818?
CVE-2024-47818 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-47818?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.