CVE-2024-31621 | Flowise 认证绕过

admin 2024年4月23日01:21:56评论21 views字数 685阅读2分17秒阅读模式

使使使

影响描述

    该漏洞存在于认证中间件的路径检查上。认证中间件被设置为对所有路径为 /api/v1 的端点进行认证,但是它只检查路径的小写形式,比如 /api/v1。这就意味着,如果一个用户将路径转换为大写形式,比如 /API/V1,认证中间件将无法检测到并通过认证,从而绕过了认证过程。

CVE-2024-31621 | Flowise 认证绕过

poc&exp

http://xxx.xxx.xxx.xxx/API/V1/credentialsThe flowise version <= 1.6.5 is vulnerable to authentication bypassvulnerability.The code snippetthis.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()>             })

CVE-2024-31621 | Flowise 认证绕过

CVE-2024-31621 | Flowise 认证绕过

原文始发于微信公众号(漏洞猎人):CVE-2024-31621 | Flowise 认证绕过

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年4月23日01:21:56
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   CVE-2024-31621 | Flowise 认证绕过https://cn-sec.com/archives/2679779.html

发表评论

匿名网友 填写信息