CVE-2024-47818CWE-22

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

Medium · published October 7, 2024

CVSS v3.1
6.5
EPSS
1%
Percentile
55.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
6.5 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00783 · 55.5th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2024-10-07T21:10Z
EPSS history
Timeline
  • 07 OCT 21:10Z
    Logged-in users with any role can delete arbitrary files in @saltcorn/server
    cvelistv5