id: joomla-htaccess-file

info:
  name: Joomla! htaccess file disclosure
  author: oppsec
  severity: info
  description: Joomla!  has an htaccess file to store configurations about HTTP config, directory listing, etc.
  metadata:
    max-request: 1
  tags: miscellaneous,misc,joomla,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/htaccess.txt"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Joomla"
          - "Open Source Matters. All rights reserved"
        condition: and

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

      - type: status
        status:
          - 200
# digest: 490a0046304402202a327f7b5b6ff0f66fedc4605b12e086c77e567a65d2367d1b45a40e6eaa45410220781cd0aff118292e10cc9d9af4d28732106949c81a4ec0056716001899d6fe85:922c64590222798bb761d5b6d8e72950
