Browse / AI Framework and Platform Flaws / CVE-2024-36421
Flowise Cors Misconfiguration in packages/server/src/index.ts
- Class
- AI Framework and Platform Flaws (filed by a model that read the source)
- Technique
- Information exposure
- Affected
- flowise (npm)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS
- 8.5% chance of exploitation in 30 days
How it works, in short
Flowise sends a wildcard CORS header, letting any origin read responses, and chained path injection can expose arbitrary server files. (Our summary, written by a model. The source text is below.)
Details
Flowise is a drag & drop user interface to build a customized large language model flow. In version 1.4.3 of Flowise, A CORS misconfiguration sets the Access-Control-Allow-Origin header to all, allowing arbitrary origins to connect to the website. In the default configuration (unauthenticated), arbitrary origins may be able to make requests to Flowise, stealing information from the user. This CORS misconfiguration may be chained with the path injection to allow an attacker attackers without access to Flowise to read arbitrary files from the Flowise server. As of time of publication, no known patches are available.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-36421
- https://github.com/FlowiseAI/Flowise
- https://github.com/FlowiseAI/Flowise/blob/e93ce07851cdc0fcde12374f301b8070f2043687/packages/server/src/index.ts#L122
- https://securitylab.github.com/advisories/GHSL-2023-232_GHSL-2023-234_Flowise
Source: GitHub Advisory Database, used under CC BY 4.0.