Horizon Alert
Summary of the vulnerability and why it matters
This advisory concerns a security vulnerability in Budibase, a low-code development platform, that could allow unauthorized access to connected data sources. The flaw lies within webhook-triggered automations, specifically when using EXECUTE_QUERY steps, enabling attackers to inject malicious SQL commands. This could potentially lead to the exfiltration or modification of sensitive information stored in linked databases, such as Snowflake, and allow for persistent access within those data sources.
- Unauthenticated SQL injection in automation webhooks.
- Impacts data integrity and access in connected systems.
- Confirm relevance and exposure of connected data.
Attack Path
How an attacker could exploit the issue
Attackers can exploit this vulnerability by sending specially crafted JSON data to a webhook trigger endpoint without needing to authenticate. This allows them to inject malicious SQL code, which is then executed by the application using database credentials configured within the system. Successful exploitation could lead to unauthorized access, modification, or deletion of data stored in connected databases.
- Unauthenticated access to webhook endpoint required.
- Trigger automations with malicious SQL payloads.
- Risk of data exfiltration, modification, persistence.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability could allow an unauthenticated attacker to inject SQL commands into webhook-triggered automations when supported by the advisory. This could affect connected data sources such as Snowflake by enabling unauthorized access to, modification of, or persistence within the data.
- Connected data sources.
- Via attacker-controlled JSON POST request.
- Data exfiltration, modification, or persistence.
Operational Fix
Recommended remediation, mitigation, and detection steps
This vulnerability affects Budibase applications using webhook-triggered automations with the EXECUTE_QUERY step. Application owners or platform teams responsible for Budibase deployments should lead the response, coordinating with security and infrastructure teams. The initial step is to identify all Budibase instances, determine if they are exposed externally and contain affected automations, and assess business criticality before planning remediation.
- Application owners should prioritize discovery.
- Verify webhook automation exposure and criticality.
- Plan phased remediation based on risk.