2022-12-14 19:54:41 +00:00
|
|
|
id: production-log
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: Production Log File Disclosure
|
|
|
|
author: geeknik
|
|
|
|
severity: low
|
|
|
|
metadata:
|
2023-04-28 08:11:21 +00:00
|
|
|
max-request: 3
|
2022-12-14 19:54:41 +00:00
|
|
|
verified: "true"
|
|
|
|
github-query: filename:production.log Connecting to database specified by database.yml
|
2022-12-16 02:42:41 +00:00
|
|
|
tags: exposure,files,logs
|
2022-12-14 19:54:41 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-12-14 19:54:41 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- '{{BaseURL}}/log/production.log'
|
|
|
|
- '{{BaseURL}}/logs/production.log'
|
|
|
|
- '{{BaseURL}}/production.log'
|
|
|
|
|
|
|
|
stop-at-first-match: true
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- 'Connecting to database specified by database.yml'
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- 'text/html'
|
|
|
|
negative: true
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|