Vulnerability

CVE-2024-47818

mediumCVSS 3.1 6.5Published 7 Oct 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /saltcorn/saltcorn/blob/v1.0.0-beta.15/packages/server/rout…
  • github.com /saltcorn/saltcorn/commit/3c551261d0e230635774798009951fa83…
  • github.com /saltcorn/saltcorn/security/advisories/GHSA-43f3-h63w-p6f6

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning