Horizon Alert
Summary of the vulnerability and why it matters
This advisory details a critical vulnerability in Budibase, a low-code platform, that could allow authenticated users to write arbitrary content to any file on the server. The issue stems from improper sanitization of S3 object keys during workspace exports, enabling file traversal.
- Authenticated users can write anywhere on the server.
- Important for verifying if internal developers use this platform.
- Confirm relevance and assess potential exposure to this risk.
Attack Path
How an attacker could exploit the issue
An attacker with authenticated access to Budibase can craft malicious filenames during a workspace export. These specially formed names, containing traversal sequences, can bypass intended directory restrictions, enabling the attacker to overwrite arbitrary files on the server where Budibase is running. This capability, when supported by the environment, could lead to significant system compromise.
- Requires authenticated builder access.
- Triggers during workspace export with crafted filenames.
- Allows arbitrary file writes.
Live Threat
Current exploitation, exposure, and threat context
Budibase, when used by authenticated builders, could allow for arbitrary file writes on the server hosting the Budibase application during workspace exports. This occurs because the system fails to properly sanitize S3 object keys, enabling traversal sequences in filenames to write content to any location the Budibase process has permission to write to.
- System files could be overwritten.
- Traversal sequences in filenames enable writes.
- Disruption of Budibase service operations.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Budibase application owner is responsible for addressing this vulnerability. The first practical step is to identify all Budibase instances, confirm their reachability and business criticality, and then plan remediation, potentially coordinating with vendor management if a managed service is in use.
- Identify Budibase instances and owners.
- Verify reachability and business impact.
- Plan remediation based on risk.