CVE-2024-47818

Medium

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.

SeverityMedium
CVSS6.5
Exploit probability—
Product@saltcorn/server
PublishedOct 7, 2024
First seenOct 7, 2024

How to fix

Update
  • @saltcorn/server1.0.0-beta.16 or later

Affected products

ProductAffected versionsFixed in
@saltcorn/servernpmv < 1.0.0-beta.161.0.0-beta.16

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.