id: apache-zeppelin-unauth

info:
  name: Apache Zeppelin - Unauthenticated Access
  author: j4vaovo
  severity: high
  description: |
    Apache Zeppelin server was able to be accessed because no authentication was required.
  reference:
    - https://www.adminxe.com/2172.html
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L
    cvss-score: 8.6
    cwe-id: CWE-285
    cpe: cpe:2.3:a:apache:zeppelin:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    shodan-query: title:"Zeppelin"
    fofa-query: title="Zeppelin"
    product: zeppelin
    vendor: apache
  tags: misconfig,apache,zeppelin,unauth,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/api/security/ticket"

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'status":"OK'
          - '"ticket":"anonymous"'
        condition: and

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

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