id: symfony-properties-ini

info:
  name: Symfony properties.ini File Disclosure
  author: DhiyaneshDK
  severity: info
  classification:
    cpe: cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: sensiolabs
    product: symfony
    google-query: intitle:"index of" "properties.ini"
  tags: symfony,exposure,files

http:
  - method: GET
    path:
      - '{{BaseURL}}/properties.ini'
      - '{{BaseURL}}/config/properties.ini'

    stop-at-first-match: true

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - 'name='
          - 'author='
          - 'orm='
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450221008958b277b8369c7b431d4a807887a19353d902a571ad825895972df60aefc33e022050b961c925251dd3e9f1c50fe79321100ca6a69cb3709f5b4590d7cf5f51f5e5:922c64590222798bb761d5b6d8e72950