PoC Index

CVE-2017-16894

HIGH 7.5EPSS 87.0%

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.

CVSS v3.0
7.5 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v2.0
5.0 MEDIUMAV:N/AC:L/Au:N/C:P/I:N/A:N
EPSS
87.03% chance of exploitation in the next 30 days, 100th percentile
Nuclei
high · CWE-200
Published
2017-11-20
Updated
2024-08-05

Proof-of-concept exploits (1)

Nuclei templates (1)

Metasploit modules (1)

ExploitDB entries (1)

Exploit collections (1)

References

Related