id: joomla-config-dist-file

info:
  name: Joomla! Configuration File - Detect
  author: oppsec
  severity: low
  description: Joomla! configuration.php-dist file was detected.
  metadata:
    max-request: 1
  tags: config,exposure,joomla

http:
  - method: GET
    path:
      - "{{BaseURL}}/configuration.php-dist"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Joomla"
          - "JConfig"
          - "@package"
        condition: and

      - type: word
        words:
          - "text/plain"
        part: header

      - type: status
        status:
          - 200

# digest: 4a0a004730450221008d2729d95e7cf854a8508eac469bb502578e21d995edf32f4f5ef7bde53d9f0c022017c6322f4341b3e22ff27e4dff407d6fd7299c6bb9dfc053cb22982504851ebb:922c64590222798bb761d5b6d8e72950
