CVE-2017-16894

Scores

EPSS

0.888high88.8%
0%20%40%60%80%100%

Percentile: 88.8%

CVSS

7.5high3.x
0246810

CVSS Score: 7.5/10

All CVSS Scores

CVSS 3.x
7.5

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

CVSS 2.0
5.0

Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

debiannvd

CWEs

CWE-200

Exploits

Exploit ID: 47129

Source: exploitdb

URL: https://www.exploit-db.com/exploits/47129

Exploit ID: CVE-2017-16894

Source: github-poc

URL: https://github.com/ibnurusdianto/CVE-2017-16894

Vulnerable Software (2)

Type: Configuration

Product: php-laravel-framework

Operating System: debian

Trait:
{  "unaffected": true}

Source: debian

Type: Configuration

Vendor: *

Product: laravel

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:laravel:laravel:*:*:*:*:*:*:*:*",      "versionEndIncluding": "5.5.21",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

End of list