"details": "### Summary\nAn unauthenticated attacker can exploit the unprotected registration endpoint (/register) to create a new user and bypass authentication.\n### Details\nCritical vulnerability in Flowise 3.0.1 on-premise deployment allows unauthenticated attackers to exploit the /api/v1/account/register endpoint to add a new user and log in using it, enabling authentication bypass.\n\nMeaning that the register functionality is by default open, allowing attackers to create an account and use the api without any restrictions or credentials.\n\n### PoC\nA Flowise 3.0.1 instance was deployed via Docker for the purpose of this demonstration.\n\n\nAfter successful deployment the instance setup organization page allows us to register the first account in the system.\n\n\nCreating the first user [
[email protected]](mailto:
[email protected])\n\n\nLogin to the account\n\n\nThe background request that created the first user to /api/v1/account/register \n\n\nResponse\n\n\nWe have found that it is possible to reuse the registration request multiple times without any restrictions to create an account and authenticate to the system using it.\n\nCrafting a new request \n{\n \"user\": {\n \"name\": \"Malicious\",\n \"email\": \"
[email protected]\", \n \"type\": \"pro\",\n \"credential\": \"Password123!\"\n }\n}\n\n\nResponse with 201 code “Created”\n\n\nLogin using newly created user (attacker)\n\n\nSuccess login\n\n\n\nAn unauthorized user can exploit this vulnerability to register an account and gain access to the Flowise API with authenticated privileges, effectively bypassing authentication. \n### Impact\n\nThis is an authentication bypass vulnerability caused by an unprotected registration endpoint (/register).\n\nUsers of Flowise 3.0.1(latest) on-premise deployments are impacted. An unauthorized attacker can exploit this vulnerability to register an account after the organization set has been completed, and gain access to the Flowise API with authenticated privileges, effectively bypassing authentication.",
0 commit comments