GHSL-2023-232_GHSL-2023-234: Path injection, Cross-Site Scripting (XSS) and CORS misconfiguration in Flowise - CVE-2024-36420, CVE-2024-36421, CVE-2024-36422, CVE-2024-36423, CVE-2024-37145, CVE-2024-37146
Flowise had a path injection in an API endpoint that allowed arbitrary file read, reflected XSS in several endpoints, and a CORS misconfiguration allowing any origin. An attacker could read files from the server and steal or modify user secrets, especially when the default unauthenticated configuration was used.
Flowise is vulnerable to path injection, cross site scripting and CORS misconfiguration vulnerabilities, that may compromise the confidentiality of the information on the host server. In the worst case, it may allow attackers to read files from the Flowise server and read/modify user secrets.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
This could allow an attacker to read arbitrary files from the Flowise server and read or modify user secrets, especially when the default unauthenticated configuration is used.
What the attacker needed
Default unauthenticated configuration; victim clicks a crafted link; attacker can send requests to the server
The fix
The report recommends removing all cases where data from the request is passed to the response without sanitisation, and presumably fixing the path handling and CORS configuration; the text does not state that a fix was applied.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Flowise is a tool for building AI chat flows. The report found three problems: one let attackers read any file on the server by manipulating a file name, another let attackers run their own code in a victim's browser by putting it in a URL, and a third let any website talk to the Flowise server. Together these could let someone steal data or secrets.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.