id: apache-hbase-unauth

info:
  name: Apache Hbase Unauth
  author: pikpikcu
  severity: medium
  description: Apache Hbase is exposed.
  metadata:
    max-request: 1
  tags: apache,unauth,misconfig

http:
  - method: GET
    path:
      - '{{BaseURL}}/conf'

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '<name>hbase.defaults.for.version</name>'
          - '<source>hbase-default.xml</source>'

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100b9e9606ee9fa9ba5a8265f8fb46ad696829039b9b1531cd0f657f222fc6c2204022100f418f2f06a0699dc3f5e60301e0e286b23cee95bbdd9b1db8a39f49eba6e687f:922c64590222798bb761d5b6d8e72950