7.5

CVE-2017-16894: laravel

CVSS: 7.5v3.0HighModified
Published 20-11-2017Last modified 05-08-2024

Vulnerability summary

CVE-2017-16894 is a high (CVSS 7.5) vulnerability in laravel. EPSS estimates a 86.92% chance of exploitation in the next 30 days, higher than 99.7% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
57/100
0100
High · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.0 (NVD)
EPSS score
86.92%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2exploit-database, metasploit

Timeline

  1. 20-11-2017
    PublishedVulnerability first disclosed.
  2. 05-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

2 scores · 1 source · 2 versions

EPSS trend

Probability

86.92%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

0.00 pp

From 86.92% on 19-09-2026

19-09-202619-10-2026
EPSS score
86.92%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • exploit-databaseremotelinuxVerified

    PHP Laravel Framework 5.5.40 / 5.6.x < 5.6.30 - token Unserialize Remote Command Execution (Metasploit)

    Maturity: weaponized

  • MetasploitMetasploitremoteVerified

    PHP Laravel Framework token Unserialize Remote Command Execution

    exploit/unix/http/laravel_token_unserialize_exec

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Laravel1 product

1 vendor · 1 product

References

3 links