SecurityContext

laravel-debug-enabled: Laravel Debug Enabled

  • Template: laravel-debug-enabled
  • Name: Laravel Debug Enabled
  • 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.
  • Severity: medium
  • Authors: notsoevilweasel
  • Tags: debug, laravel, misconfig, vuln
  • Max requests: 1
  • Directory: http/misconfiguration
  • Path: http/misconfiguration/laravel-debug-enabled.yaml
  • Digest: 4b0a00483046022100f7ad81d93311f60c637be3322a011f6787545c6873ff79b167a74b77aa711fa6022100cb2855da07b55a357f77facccdd7d7dcc143728080dbd3019e9079b0c67c90b5
  • Created at: 2021-04-18T15:44:27Z
  • Updated at: 2025-10-26T16:17:37Z
  • Age in days: 2045
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/misconfiguration/laravel-debug-enabled.yaml
  • Checked, none or zero: references, cves, verified, products
  • Not known: impact

Classification

  • Checked, none or zero: cwe
  • Not known: cvss score, cvss vector, epss score, epss percentile, cpe

Metadata

  • Max-request: 1

Labels

  • Name: Laravel - Information Disclosure
  • Impact: Attackers can obtain sensitive information such as environment variables, file paths, and configuration details from verbose error messages.
  • Remediation: Set APP_DEBUG to false in production environments and update to the latest Laravel version.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: securitycontext
  • Not known: requirements, from cve

```yaml

id: laravel-debug-enabled

info:

name: Laravel Debug Enabled

author: notsoevilweasel

severity: medium

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.

metadata:

max-request: 1

tags: debug,laravel,misconfig,vuln

http:

- method: GET

path:

- "{{BaseURL}}/_ignition/health-check"

matchers-condition: and

matchers:

- type: word

part: body

words:

- can_execute_commands

- type: status

status:

- 200

digest: 4b0a00483046022100f7ad81d93311f60c637be3322a011f6787545c6873ff79b167a74b77aa711fa6022100cb2855da07b55a357f77facccdd7d7dcc143728080dbd3019e9079b0c67c90b5:922c64590222798bb761d5b6d8e72950

```