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