2021-02-18 16:18:42 +00:00
id : laravel-log-file
info :
name : Laravel log file publicly accessible
2021-04-06 19:27:45 +00:00
author : sheikhrishad & geeknik
2021-04-11 14:32:06 +00:00
severity : high
2021-04-11 14:35:27 +00:00
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.
2021-04-11 14:32:06 +00:00
reference : https://laravel.com/docs/master/logging
2021-04-06 06:46:11 +00:00
tags : laravel,log,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