CVE-2017-16894
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.
- Severity
- HIGHCVSS 7.5
- Priority
- P2: EPSS ≥ 10%
- Exploit prediction (EPSS)
- 86.9%higher than 100% of CVEs
- CISA KEV
- Not listed as known exploited
- First reported
- 20 November 2017
Is CVE-2017-16894 on your systems?
Sign in to get an AI-assisted analysis, a read-only verification script for your servers, and alerts when this CVE changes or is exploited.
References
Look up another CVE
Linda Taifa tracks CVE-2017-16894 and every other published CVE for organisations in Tanzania and across Africa. See the latest on CVE Tanzania.
Sources: NVD, CISA Known Exploited Vulnerabilities catalog and FIRST EPSS. Official CVE record · NVD entry