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

40 lines
908 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
metadata:
max-request: 1
2023-10-14 11:27:55 +00:00
tags: laravel,logs,exposure
2021-02-18 16:18:42 +00:00
http:
2021-02-18 16:18:42 +00:00
- 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
2023-10-14 11:27:55 +00:00
2021-04-06 19:27:45 +00:00
- type: word
part: header
words:
- "text/plain"
- "text/x-log"
condition: or
2023-10-14 11:27:55 +00:00
2021-02-18 16:18:42 +00:00
- type: status
status:
- 200