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,vuln

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: 490a0046304402200e91fe02abd2813b23272561272e70214ac2b810e427b66896b4264a619a86ed0220472a8d3b3d23f1cef6226f2c2d85fb6b3c60cc94d4c44152d7b9494f74a8f40d:922c64590222798bb761d5b6d8e72950