id: access-log-file

info:
  name: Publicly accessible access-log file
  author: sheikhrishad
  severity: low
  description: Log file was exposed.
  metadata:
    max-request: 4
  tags: logs,exposure

http:
  - method: GET
    path:
      - "{{BaseURL}}/access.log"
      - "{{BaseURL}}/log/access.log"
      - "{{BaseURL}}/logs/access.log"
      - "{{BaseURL}}/application/logs/access.log"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - '"GET /'

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

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