CVE-2017-16894

Published Nov 20, 2017 CVSS 3.0 · 7.5 High EPSS 86.9% KEV · Not listed
Description
In Laravel framework through 5.5.21, remote attackers can obtain sensitive information (such as externally usable passwords) via a direct request for the /.env URI. NOTE: this CVE is only about Laravel framework's writeNewEnvironmentFileWith function in src/Illuminate/Foundation/Console/KeyGenerateCommand.php, which uses file_put_contents without restricting the .env permissions. The .env filename is not used exclusively by Laravel framework.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 8:35 PM
Reserved
Nov 19, 2017, 12:00 AM
Status
Modified
Published
Nov 20, 2017, 1:29 AM
Modified
Jun 17, 2026, 1:10 AM