Laravel Debug Enabled

By
Anandhu K A
Published on
10 Jan 2022
Vulnerability

Description

Laravel Debug mode is enabled with APP_DEBUG set to True An attacker can obtain information such as:

  • Application key

  • Database connection strings

This information might help an attacker to gain more information and exploit further attacks to the target system.

Recommendation

  • Change .env file to disable debug mode:

    APP_DEBUG=false


Written by
Anandhu K A
Anandhu K A
Lead Engineer
Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 10 days