Environment Configuration File Detected

high Web App Scanning Plugin ID 98538

Synopsis

Environment Configuration File Detected

Description

An environment configuration file (.env) has been detected on the web application by the scanner. It may be possible for an attacker to view sensitive information (database login and password or API keys for example) and then conduct further attacks.

Solution

Remove .env file or restrict access.

See Also

https://laravel.com/docs/master/configuration

Plugin Details

Severity: High

ID: 98538

Type: remote

Published: 4/16/2019

Updated: 10/19/2022

Scan Template: api, basic, full, pci, scan

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: Tenable

CVSS v3

Risk Factor: High

Base Score: 7.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS Score Source: Tenable

Reference Information