CVE-2017-16894
Oracle Linux Env File Disclosure
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.
INFO
Published Date :
Nov. 20, 2017, 1:29 a.m.
Last Modified :
Feb. 14, 2024, 1:17 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Public PoC/Exploit Available at Github
CVE-2017-16894 has a 13 public PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2017-16894
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Tiger是一款在攻防演练中对目标资产重点系统指纹识别、精准漏扫的工具。是一款打点神器。
all laravel cve
Python
None
CSS HTML JavaScript
poc集合(持续更新ing)
在公网收集的gobypoc+部分自己加的poc
A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库
vulnerability
None
Python
一个漏洞POC知识库 目前数量 1000+
poc
安全类各家文库大乱斗
HTML CSS JavaScript Go Python Shell C
None
Scans & Exploits
Python Shell
Tools designed to solve everyday problems.
php perl python
Perl PHP Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2017-16894
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2017-16894
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Jul. 15, 2019
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/153641/PHP-Laravel-Framework-Token-Unserialize-Remote-Command-Execution.html [No Types Assigned] -
CVE Modified by [email protected]
Mar. 09, 2018
Action Type Old Value New Value Added Reference https://twitter.com/finnwea/status/967709791442341888 [No Types Assigned] -
Initial Analysis by [email protected]
Dec. 12, 2017
Action Type Old Value New Value Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N) Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Changed Reference Type http://whiteboyz.xyz/laravel-env-file-vuln.html No Types Assigned http://whiteboyz.xyz/laravel-env-file-vuln.html Third Party Advisory Added CWE CWE-200 Added CPE Configuration OR *cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:* versions up to (including) 5.5.21 -
CVE Modified by [email protected]
Nov. 23, 2017
Action Type Old Value New Value Changed 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. The writeNewEnvironmentFileWith function in src/Illuminate/Foundation/Console/KeyGenerateCommand.php does not restrict the .env permissions. 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.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2017-16894
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2017-16894
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
6.22 }} -5.39%
score
0.93769
percentile