id: ansible-config-disclosure

info:
  name: Ansible Configuration Page - Detect
  author: pdteam
  severity: medium
  description: Ansible 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: config,exposure

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

    matchers:
      - type: word
        words:
          - '[defaults]'
          - '[inventory]'
        condition: and
# digest: 4b0a00483046022100a0564d4217f8eece76ba2f303bd0ebde5023a7a28b2fb9154bc695ad78177355022100ed74e4021ee57375e8da2222932396b84bd071577601e7e284648a943fa977ce:922c64590222798bb761d5b6d8e72950