nuclei-templates/exposures/logs/laravel-log-file.yaml

36 lines
879 B
YAML
Raw Normal View History

2021-02-18 16:18:42 +00:00
id: laravel-log-file
info:
name: Laravel log file publicly accessible
2021-06-09 12:20:56 +00:00
author: sheikhrishad,geeknik
severity: high
description: The log file of this Laravel web app might reveal details on the inner workings of the app, possibly even tokens, credentials or personal information.
reference:
- https://laravel.com/docs/master/logging
2021-05-07 10:38:22 +00:00
tags: laravel,logs,exposure
2021-02-18 16:18:42 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/storage/logs/laravel.log"
matchers-condition: and
matchers:
- type: word
2021-04-06 19:27:45 +00:00
part: body
2021-02-18 16:18:42 +00:00
words:
- "InvalidArgumentException"
2021-04-06 19:27:45 +00:00
- "local.ERROR"
- "ErrorException"
- "syntax error"
condition: or
- type: word
part: header
words:
- "text/plain"
- "text/x-log"
condition: or
2021-02-18 16:18:42 +00:00
- type: status
status:
- 200