Budibase is an open-source low-code platform. Prior to version 3.33.4, a server-side request forgery (SSRF) vulnerability exists in Budibase's REST datasource connector. The platform's SSRF protection mechanism (IP blacklist) is rendered completely ineffective because the BLACKLIST_IPS environment variable is not set by default in any of the official deployment configurations. When this variable is empty, the blacklist function unconditionally returns false, allowing all requests through without restriction. This issue has been patched in version 3.33.4.
The BLACKLIST_IPS environment variable, responsible for defining a list of blocked IP addresses, is not set by default in any of Budibase's official deployment configurations. When this variable is empty, the blacklist checking function unconditionally returns false, allowing all requests through without any verification. An authenticated user can thus use the REST datasource connector to direct the server to execute HTTP requests to any internal or external network resources. The vulnerability encompasses CWE-918 (SSRF) and CWE-1188 (insecure default initialization).
An attacker with access to a user account can gain access to internal network infrastructure resources (e.g., cloud metadata services, internally-accessible systems not publicly available) and potentially exfiltrate sensitive data or compromise the integrity of internal systems.
Update Budibase to version 3.33.4 or later, in which the vulnerability has been patched. As a temporary workaround, you can manually set the BLACKLIST_IPS environment variable according to the vendor's recommendations described in the references.
Budibase in versions before 3.33.4 — affects all official deployment configurations in which the BLACKLIST_IPS variable is not manually set
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:NBudibase
APPBudibase< 3.33.4
Related vulnerabilities
Budibase: path traversal przez symlink w endpoint przetwarzania ZIP
SQL/NoSQL Injection w Budibase — nieautoryzowany odczyt i zapis danych
Budibase: pominięcie uwierzytelnienia przez manipulację query string
Budibase: nieuwierzytelniony RCE przez publiczny webhook i krok Bash
Path Traversal w Budibase — odczyt dowolnych plików przez endpoint PWA ZIP