id: airflow-debug

info:
  name: Airflow Debug Trace
  author: pdteam
  severity: low
  description: Airflow Debug Trace enabled.
  classification:
    cpe: cpe:2.3:a:apache:airflow:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: apache
    product: airflow
    shodan-query: title:"Airflow - DAGs"
  tags: apache,airflow,fpd,misconfig

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

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "<h1> Ooops. </h1>"
          - "Traceback (most recent call last)"
        condition: and

      - type: status
        status:
          - 500
# digest: 4a0a00473045022100b53dd9f7f1d773cd6d4fa325a9f431b74881b7de5a7c999c0cc33748f193ae82022024bc4631842a917d2c5794cd4f05dbf9c4ed0ed9bab612a4d4461fa91b0a0cc9:922c64590222798bb761d5b6d8e72950