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.
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: debug,laravel,misconfig
|
2021-04-06 08:50:26 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-04-03 22:52:49 +00:00
|
|
|
- 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
|