CVE-2024-47818
Saltcorn is an extensible, open source, no-code database …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/routes/sync.js#L337-L346
- github.com/saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83a07cc3a
- github.com/saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6
- nvd.nist.gov/vuln/detail/CVE-2024-47818
- github.com/advisories/GHSA-43f3-h63w-p6f6
- nvd.nist.gov/vuln/detail/CVE-2024-47818
- cve.org/CVERecord?id=CVE-2024-47818
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.