id: apache-kyuubi-config

info:
  name: Apache Kyuubi - Configuration Exposure
  author: icarot
  severity: medium
  description: |
    Detects if path Appconfigs of Apache Kyuubi web application is exposed, getting internal information about the configuration made.
  classification:
    cpe: cpe:2.3:a:apache:kyuubi:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: apache
    product: kyuubi
  tags: config,exposure,kyuubi,apache

http:
  - method: GET
    path:
      - "{{BaseURL}}/engine-ui/0.0.0.0:4040/environment/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Environment</title>'
          - 'kyuubi'
        condition: and

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