CVE-2017-11365: Symfony/security core Symfony Incorrect Access Control Vulnerability

CRITICAL
Advisory Identifier: GHSA-q87v-q8fw-gmj5
CVSS 9.8
CWE-284
Published
Advisory Summary

CVE-2017-11365 is a CRITICAL (CVSS 9.8) symfony incorrect access control vulnerability (CWE-284: Improper Access Control) affecting Symfony/security core libraries in the Packagist ecosystem. The issue involves symfony incorrect access control. Remediation is available by upgrading affected packages to version 2.7.32, 2.8.25, 3.2.12, 3.3.5.

CVE-2017-11365 at a Glance

CVE Identifier CVE-2017-11365
GHSA Identifier GHSA-q87v-q8fw-gmj5
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-284: Improper Access Control
Affected Product Symfony/security core
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 9.8

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

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

How to Fix CVE-2017-11365

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

symfony/security-core fixed: 2.7.32
Upgrade symfony/security-core to 2.7.32
symfony/security-core fixed: 2.8.25
Upgrade symfony/security-core to 2.8.25
symfony/security-core fixed: 3.2.12
Upgrade symfony/security-core to 3.2.12
symfony/security-core fixed: 3.3.5
Upgrade symfony/security-core to 3.3.5
symfony/security fixed: 2.7.32
Upgrade symfony/security to 2.7.32
symfony/security fixed: 2.8.25
Upgrade symfony/security to 2.8.25
symfony/security fixed: 3.2.12
Upgrade symfony/security to 3.2.12
symfony/security fixed: 3.3.5
Upgrade symfony/security to 3.3.5
symfony/symfony fixed: 2.7.32
Upgrade symfony/symfony to 2.7.32
symfony/symfony fixed: 2.8.25
Upgrade symfony/symfony to 2.8.25
symfony/symfony fixed: 3.2.12
Upgrade symfony/symfony to 3.2.12
symfony/symfony fixed: 3.3.5
Upgrade symfony/symfony to 3.3.5
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 symfony/security-core

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-11365, inspect your project dependencies for Symfony/security core:

inspect dependencies for symfony/security-core

Analyze the terminal output to locate any version of Symfony/security core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.32), 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-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Symfony/security core, 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

Certain Symfony products are affected by: Incorrect Access Control. This affects Symfony 2.7.30 and Symfony 2.8.23 and Symfony 3.2.10 and Symfony 3.3.3. The type of exploitation is: remote. The component is: Password validator.

CVE-2017-11365 Affected Symfony/security core Versions

12 component(s)
Fixed Versions:
2.7.322.8.253.2.123.3.5
Product / Package Ecosystem Affected Versions Fixed Version
symfony/security-core
Packagist
≥ 2.7.30
< 2.7.32
2.7.32
symfony/security-core
Packagist
≥ 2.8.23
< 2.8.25
2.8.25
symfony/security-core
Packagist
≥ 3.2.10
< 3.2.12
3.2.12
symfony/security-core
Packagist
≥ 3.3.3
< 3.3.5
3.3.5
symfony/security
Packagist
≥ 2.7.30
< 2.7.32
2.7.32
symfony/security
Packagist
≥ 2.8.23
< 2.8.25
2.8.25
symfony/security
Packagist
≥ 3.2.10
< 3.2.12
3.2.12
symfony/security
Packagist
≥ 3.3.3
< 3.3.5
3.3.5
symfony/symfony
Packagist
≥ 2.7.30
< 2.7.32
2.7.32
symfony/symfony
Packagist
≥ 2.8.23
< 2.8.25
2.8.25
symfony/symfony
Packagist
≥ 3.2.10
< 3.2.12
3.2.12
symfony/symfony
Packagist
≥ 3.3.3
< 3.3.5
3.3.5

References

Frequently Asked Questions

What is CVE-2017-11365?
CVE-2017-11365 is a security vulnerability in Symfony/security core involving Symfony Incorrect Access Control under CWE-284: Improper Access Control.
Which Symfony/security core versions are affected?
Affected versions include releases prior to 2.7.32, 2.8.25, 3.2.12, 3.3.5 across affected packages: symfony/security-core, symfony/security, symfony/symfony.
What version fixes CVE-2017-11365?
Upgrading to 2.7.32, 2.8.25, 3.2.12, 3.3.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/security-core affected?
Yes, symfony/security-core is affected in releases prior to 2.7.32, 2.8.25, 3.2.12, 3.3.5. Upgrade your dependency to 2.7.32, 2.8.25, 3.2.12, 3.3.5 or later.
Is symfony/security affected?
Yes, symfony/security is affected in releases prior to 2.7.32, 2.8.25, 3.2.12, 3.3.5. Upgrade your dependency to 2.7.32, 2.8.25, 3.2.12, 3.3.5 or later.
What is the CVSS score of CVE-2017-11365?
CVE-2017-11365 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2017-11365?
CVE-2017-11365 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Packagist dependencies for CVE-2017-11365?
Run the dependency tree command: 'inspect dependencies for symfony/security-core'. 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-q87v-q8fw-gmj5",
  "modified" : "2024-02-08T19:47:42Z",
  "published" : "2022-05-24T16:46:23Z",
  "aliases" : [ "CVE-2017-11365" ],
  "summary" : "Symfony Incorrect Access Control",
  "details" : "Certain Symfony products are affected by: Incorrect Access Control. This affects Symfony 2.7.30 and Symfony 2.8.23 and Symfony 3.2.10 and Symfony 3.3.3. The type of exploitation is: remote. The component is: Password validator.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.30"
      }, {
        "fixed" : "2.7.32"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.23"
      }, {
        "fixed" : "2.8.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.10"
      }, {
        "fixed" : "3.2.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.3"
      }, {
        "fixed" : "3.3.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.30"
      }, {
        "fixed" : "2.7.32"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.23"
      }, {
        "fixed" : "2.8.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.10"
      }, {
        "fixed" : "3.2.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.3"
      }, {
        "fixed" : "3.3.5"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.30"
      }, {
        "fixed" : "2.7.32"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.23"
      }, {
        "fixed" : "2.8.25"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.10"
      }, {
        "fixed" : "3.2.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.3.3"
      }, {
        "fixed" : "3.3.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-11365"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/pull/23507"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/commit/878198cefae028386c6dc800ccbf18f2b9cbff3f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-core/CVE-2017-11365.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2017-11365.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2017-11365.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/symfony/symfony"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/blog/cve-2017-11365-empty-passwords-validation-issue"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/cve-2017-11365"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-284" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-25T22:02:56Z",
    "nvd_published_at" : "2019-05-23T18:29:00Z"
  }
}