Description
Budibase is an open-source low-code platform. Prior to version 3.33.4, the plugin file upload endpoint (POST /api/plugin/upload) passes the user-supplied filename directly to createTempFolder() without sanitizing path traversal sequences. An attacker with Global Builder privileges can craft a multipart upload with a filename containing ../ to delete arbitrary directories via rmSync and write arbitrary files via tarball extraction to any filesystem path the Node.js process can access. This issue has been patched in version 3.33.4.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
References
github.com/...dibase/security/advisories/GHSA-2wfh-rcwf-wh23
github.com/...dibase/security/advisories/GHSA-2wfh-rcwf-wh23
github.com/Budibase/budibase/pull/18240
github.com/...ommit/6344d06d703660fd05995e61d581593c2349c879
github.com/Budibase/budibase/releases/tag/3.33.4