CVE-2017-14775: Laravel/framework Laravel Sensitive Data Exposure Vulnerability

MODERATE
Advisory Identifier: GHSA-c2v7-j5gq-wcq4
CVSS 5.9
CWE-200
Published
Advisory Summary

CVE-2017-14775 is a MODERATE (CVSS 5.9) laravel sensitive data exposure vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Laravel/framework libraries in the Packagist ecosystem. The issue involves laravel sensitive data exposure. Remediation is available by upgrading affected packages to version 5.5.10.

CVE-2017-14775 at a Glance

CVE Identifier CVE-2017-14775
GHSA Identifier GHSA-c2v7-j5gq-wcq4
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Laravel/framework
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2017-14775

To remediate this vulnerability, upgrade all affected Laravel/framework dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

laravel/framework fixed: 5.5.10
Upgrade laravel/framework to 5.5.10
illuminate/auth fixed: 5.5.10
Upgrade illuminate/auth to 5.5.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for laravel/framework

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-14775, inspect your project dependencies for Laravel/framework:

inspect dependencies for laravel/framework

Analyze the terminal output to locate any version of Laravel/framework in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.5.10), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Laravel/framework, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Laravel before 5.5.10 mishandles the remember_me token verification process because DatabaseUserProvider does not have constant-time token comparison.

CVE-2017-14775 Affected Laravel/framework Versions

2 component(s)
Fixed Versions:
5.5.10
Product / Package Ecosystem Affected Versions Fixed Version
laravel/framework
Packagist
< 5.5.10
5.5.10
illuminate/auth
Packagist
< 5.5.10
5.5.10

References

Frequently Asked Questions

What is CVE-2017-14775?
CVE-2017-14775 is a security vulnerability in Laravel/framework involving Laravel Sensitive Data Exposure under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Laravel/framework versions are affected?
Affected versions include releases prior to 5.5.10 across affected packages: laravel/framework, illuminate/auth.
What version fixes CVE-2017-14775?
Upgrading to 5.5.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is laravel/framework affected?
Yes, laravel/framework is affected in releases prior to 5.5.10. Upgrade your dependency to 5.5.10 or later.
Is illuminate/auth affected?
Yes, illuminate/auth is affected in releases prior to 5.5.10. Upgrade your dependency to 5.5.10 or later.
What is the CVSS score of CVE-2017-14775?
CVE-2017-14775 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2017-14775?
CVE-2017-14775 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Packagist dependencies for CVE-2017-14775?
Run the dependency tree command: 'inspect dependencies for laravel/framework'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c2v7-j5gq-wcq4",
  "modified" : "2023-07-27T00:46:27Z",
  "published" : "2022-05-17T00:34:22Z",
  "aliases" : [ "CVE-2017-14775" ],
  "summary" : "Laravel Sensitive Data Exposure",
  "details" : "Laravel before 5.5.10 mishandles the remember_me token verification process because DatabaseUserProvider does not have constant-time token comparison.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "laravel/framework"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.5.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "illuminate/auth"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "5.5.10"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14775"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/pull/21320"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-14775.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-14775.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/laravel/framework/releases/tag/v5.5.10"
  }, {
    "type" : "WEB",
    "url" : "https://laravel-news.com/laravel-v5-5-11"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-27T00:46:27Z",
    "nvd_published_at" : "2017-09-28T01:29:00Z"
  }
}