vendor:
Laravel Framework
by:
Huseein Amer
6.1
CVSS
HIGH
Credential Leakage
522
CWE
Product Name: Laravel Framework
Affected Version From: 8.*
Affected Version To: 11.*
Patch Exists: NO
Related CWE: CVE-2024-29291
CPE: laravel
Platforms Tested:
2024
Laravel Framework 11 – Credential Leakage
An attacker can access sensitive credentials including username, password, and host information by navigating to the storage/logs/laravel.log file in Laravel-based websites and searching for 'PDO->__construct('mysql:host='. This can lead to unauthorized access to the system.
Mitigation:
To mitigate this vulnerability, ensure that sensitive information such as credentials are not stored in log files. Regularly monitor and restrict access to log files to authorized personnel only.