id: CVE-2025-63387

info:
  name: Dify v1.9.1 - Broken Access Control
  author: DhiyaneshDK
  severity: medium
  description: |
    Dify v1.9.1 contains an insecure permissions vulnerability caused by lack of authorization checks in /console/api/system-features endpoint, letting unauthenticated attackers access sensitive system configuration data.
  impact: |
    Unauthenticated attackers can access sensitive system configuration data, potentially leading to information disclosure.
  remediation: |
    Update to the latest version of Dify.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2025-63387
  classification:
    cve-id: CVE-2025-63387
    epss-score: 0.28042
    epss-percentile: 0.97851
    cwe-id: CWE-287
  metadata:
    verified: true
    max-request: 1
    fofa-query: app="Dify"
  tags: cve,cve2025,dify,auth-bypass,vkev

http:
  - method: GET
    path:
      - "{{BaseURL}}/console/api/system-features"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - '"status":'
          - '"sso_enforced_for_signin":'
        condition: and

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

      - type: status
        status:
          - 200
# digest: 490a0046304402203d6324cf7f745f0685642cf94a754efcc49f225ec1c64841703560373d3f0a1802202044843405ae058efe0827c5ea16b9af8ebe1d1bb8fae259fceecf75927c41ff:922c64590222798bb761d5b6d8e72950