CVE-2017-16894
CVSS V2 Medium 5
CVSS V3 High 7.5
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.
Overview
- CVE ID
- CVE-2017-16894
- Assigner
- cve@mitre.org
- Vulnerability Status
- Modified
- Published Version
- 2017-11-20T01:29:00
- Last Modified Date
- 2018-03-09T02:29:01
Weakness Enumerations
CPE Configuration (Product)
CPE | Vulnerable | Operator | Version Start | Version End |
---|---|---|---|---|
cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:* | 1 | OR | 5.5.21 |
CVSS Version 2
- Version
- 2.0
- Vector String
- AV:N/AC:L/Au:N/C:P/I:N/A:N
- Access Vector
- NETWORK
- Access Compatibility
- LOW
- Authentication
- NONE
- Confidentiality Impact
- PARTIAL
- Integrity Impact
- NONE
- Availability Impact
- NONE
- Base Score
- 5
- Severity
- MEDIUM
- Exploitability Score
- 10
- Impact Score
- 2.9
CVSS Version 3
- Version
- 3.0
- Vector String
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack Vector
- NETWORK
- Attack Compatibility
- LOW
- Privileges Required
- NONE
- User Interaction
- NONE
- Scope
- UNCHANGED
- Confidentiality Impact
- HIGH
- Availability Impact
- NONE
- Base Score
- 7.5
- Base Severity
- HIGH
- Exploitability Score
- 3.9
- Impact Score
- 3.6
References
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2017-16894 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-16894 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2022-05-10 18:47:41 | Added to TrackCVE | |||
2022-12-02 23:16:12 | 2017-11-20T01:29Z | 2017-11-20T01:29:00 | CVE Published Date | updated |
2022-12-02 23:16:12 | 2018-03-09T02:29:01 | CVE Modified Date | updated | |
2022-12-02 23:16:13 | Modified | Vulnerability Status | updated |