34 lines
817 B
YAML
34 lines
817 B
YAML
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: 4a0a00473045022055894681346ebdcd1557dd5195bb88e21fb88e13d491ac314b4bc0a4f63f9c54022100ce9956f43bf9bd0470b6feefc2623313960798c0d145069b8ae09b67a3fbd123:922c64590222798bb761d5b6d8e72950 |