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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022021f5d4e0139f8896fd4f330b08e129cdf385a67aab51ba5516fafd4b4ff0335a022100d877024cf9f3def775870120ada78e34b730ef7acdf0c6b30f58fff4f9ec6549:922c64590222798bb761d5b6d8e72950
|