p PatchFirst

CVE-2024-47818

CVE-2024-47818 · Logged-in users with any role can delete arbitrary files in @saltcorn/server

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 6.5 · Medium · EPSS 0.8% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • saltcorn

    Versions
    • < 1.0.0-beta.16: Affected

    No fix published

  • @saltcorn/server npm

    Affected ranges
    • SEMVER: < 1.0.0-beta.16

    Update to 1.0.0-beta.16

Original sources

Check your server →