2021-04-03 22:52:49 +00:00
|
|
|
id: laravel-debug-enabled
|
2022-04-22 10:38:41 +00:00
|
|
|
|
2021-04-03 22:52:49 +00:00
|
|
|
info:
|
|
|
|
name: Laravel Debug Enabled
|
|
|
|
author: notsoevilweasel
|
|
|
|
severity: medium
|
2022-05-20 21:38:52 +00:00
|
|
|
description: |
|
|
|
|
Laravel with APP_DEBUG set to true is prone to show verbose errors.
|
|
|
|
remediation: |
|
|
|
|
Disable Laravel's debug mode by setting APP_DEBUG to false.
|
2021-04-18 15:41:40 +00:00
|
|
|
tags: debug,laravel,misconfig
|
2021-04-06 08:50:26 +00:00
|
|
|
|
2021-04-03 22:52:49 +00:00
|
|
|
requests:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/_ignition/health-check"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2021-04-06 18:22:28 +00:00
|
|
|
- type: word
|
2022-05-20 21:38:52 +00:00
|
|
|
part: body
|
2021-04-06 18:22:28 +00:00
|
|
|
words:
|
|
|
|
- can_execute_commands
|
|
|
|
|
2021-04-03 22:52:49 +00:00
|
|
|
- type: status
|
|
|
|
status:
|
2021-09-05 21:13:45 +00:00
|
|
|
- 200
|