id: unauthenticated-airflow-instance

info:
  name: Unauthenticated Airflow Instance
  author: dhiyaneshDK
  severity: high
  description: Airflow Instance is exposed.
  classification:
    cpe: cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: apache
    product: airflow
    shodan-query: title:"Airflow - DAGs"
  tags: apache,airflow,unauth,misconfig

http:
  - method: GET
    path:
      - "{{BaseURL}}"
      - "{{BaseURL}}/admin/"

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<title>Airflow - DAGs</title>"

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