Skip to main content
← All vulnerabilities
CVE-2024-47818GHSA-43F3-H63W-P6F6

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.0-beta.16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • saltcorn saltcorn

    fixed in 1.0.0-beta.16

  • @saltcorn/servernpm

    fixed in 1.0.0-beta.16

References 3

GitHub · saltcorn/saltcorn