id: airflow-configuration-exposure

info:
  name: Apache Airflow Configuration Page - Detect
  author: pdteam
  severity: medium
  description: Apache Airflow configuration page was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  metadata:
    max-request: 1
  tags: exposure,config,airflow,apache

http:
  - method: GET
    path:
      - '{{BaseURL}}/airflow.cfg'

    matchers:
      - type: word
        words:
          - '[core]'
          - '[api]'
        condition: and
# digest: 490a00463044022038df62a4bfe790959b1a2b76036f92044d9b2c41ad80a36ea15ffc01a035ac2202205d80372f7ed11641d66d7f5e98eabae7a206dcf81adfb1cfd582431b017c374f:922c64590222798bb761d5b6d8e72950