CVE-2019-10911: Symfony/security http Improper Authentication Vulnerability

HIGH
Advisory Identifier: GHSA-cchx-mfrc-fwqr
CVSS 7.5
CWE-287 CWE-200
Published
Advisory Summary

CVE-2019-10911 is a HIGH (CVSS 7.5) improper authentication vulnerability (CWE-287: Improper Authentication) affecting Symfony/security http libraries in the Packagist ecosystem. The issue involves improper authentication in symfony. Remediation is available by upgrading affected packages to version 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7.

CVE-2019-10911 at a Glance

CVE Identifier CVE-2019-10911
GHSA Identifier GHSA-cchx-mfrc-fwqr
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-287: Improper Authentication
Affected Product Symfony/security http
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 7.5

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

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
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-2019-10911

To remediate this vulnerability, upgrade all affected Symfony/security http 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-http fixed: 2.7.51
Upgrade symfony/security-http to 2.7.51
symfony/security-http fixed: 2.8.50
Upgrade symfony/security-http to 2.8.50
symfony/security-http fixed: 3.4.26
Upgrade symfony/security-http to 3.4.26
symfony/security-http fixed: 4.1.12
Upgrade symfony/security-http to 4.1.12
symfony/security-http fixed: 4.2.7
Upgrade symfony/security-http to 4.2.7
symfony/security fixed: 2.7.51
Upgrade symfony/security to 2.7.51
symfony/security fixed: 2.8.50
Upgrade symfony/security to 2.8.50
symfony/security fixed: 3.4.26
Upgrade symfony/security to 3.4.26
symfony/security fixed: 4.1.12
Upgrade symfony/security to 4.1.12
symfony/security fixed: 4.2.7
Upgrade symfony/security to 4.2.7
symfony/symfony fixed: 2.7.51
Upgrade symfony/symfony to 2.7.51
symfony/symfony fixed: 2.8.50
Upgrade symfony/symfony to 2.8.50
symfony/symfony fixed: 3.4.26
Upgrade symfony/symfony to 3.4.26
symfony/symfony fixed: 4.1.12
Upgrade symfony/symfony to 4.1.12
symfony/symfony fixed: 4.2.7
Upgrade symfony/symfony to 4.2.7
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-http

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-10911, inspect your project dependencies for Symfony/security http:

inspect dependencies for symfony/security-http

Analyze the terminal output to locate any version of Symfony/security http in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.7.51), 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-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Symfony/security http, 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

In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, a vulnerability would allow an attacker to authenticate as a privileged user on sites with user registration and remember me login functionality enabled. This is related to symfony/security.

CVE-2019-10911 Affected Symfony/security http Versions

15 component(s)
Fixed Versions:
2.7.512.8.503.4.264.1.124.2.7
Product / Package Ecosystem Affected Versions Fixed Version
symfony/security-http
Packagist
≥ 2.7.0
< 2.7.51
2.7.51
symfony/security-http
Packagist
≥ 2.8.0
< 2.8.50
2.8.50
symfony/security-http
Packagist
≥ 3.0.0
< 3.4.26
3.4.26
symfony/security-http
Packagist
≥ 4.0.0
< 4.1.12
4.1.12
symfony/security-http
Packagist
≥ 4.2.0
< 4.2.7
4.2.7
symfony/security
Packagist
≥ 2.7.0
< 2.7.51
2.7.51
symfony/security
Packagist
≥ 2.8.0
< 2.8.50
2.8.50
symfony/security
Packagist
≥ 3.0.0
< 3.4.26
3.4.26
symfony/security
Packagist
≥ 4.0.0
< 4.1.12
4.1.12
symfony/security
Packagist
≥ 4.2.0
< 4.2.7
4.2.7
symfony/symfony
Packagist
≥ 2.7.0
< 2.7.51
2.7.51
symfony/symfony
Packagist
≥ 2.8.0
< 2.8.50
2.8.50
symfony/symfony
Packagist
≥ 3.0.0
< 3.4.26
3.4.26
symfony/symfony
Packagist
≥ 4.0.0
< 4.1.12
4.1.12
symfony/symfony
Packagist
≥ 4.2.0
< 4.2.7
4.2.7

References

Frequently Asked Questions

What is CVE-2019-10911?
CVE-2019-10911 is a security vulnerability in Symfony/security http involving Improper authentication in Symfony under CWE-287: Improper Authentication.
Which Symfony/security http versions are affected?
Affected versions include releases prior to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7 across affected packages: symfony/security-http, symfony/security, symfony/symfony.
What version fixes CVE-2019-10911?
Upgrading to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is symfony/security-http affected?
Yes, symfony/security-http is affected in releases prior to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7. Upgrade your dependency to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7 or later.
Is symfony/security affected?
Yes, symfony/security is affected in releases prior to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7. Upgrade your dependency to 2.7.51, 2.8.50, 3.4.26, 4.1.12, 4.2.7 or later.
What is the CVSS score of CVE-2019-10911?
CVE-2019-10911 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2019-10911?
CVE-2019-10911 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Packagist dependencies for CVE-2019-10911?
Run the dependency tree command: 'inspect dependencies for symfony/security-http'. 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-cchx-mfrc-fwqr",
  "modified" : "2021-09-30T18:40:15Z",
  "published" : "2020-02-12T18:45:08Z",
  "aliases" : [ "CVE-2019-10911" ],
  "summary" : "Improper authentication in Symfony",
  "details" : "In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, a vulnerability would allow an attacker to authenticate as a privileged user on sites with user registration and remember me login functionality enabled. This is related to symfony/security.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.51"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.4.26"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security-http"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.51"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.4.26"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/security"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.7.0"
      }, {
        "fixed" : "2.7.51"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.50"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.4.26"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.0.0"
      }, {
        "fixed" : "4.1.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "symfony/symfony"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.2.0"
      }, {
        "fixed" : "4.2.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10911"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony/commit/a29ce2817cf43bb1850cf6af114004ac26c7a081"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security-http/CVE-2019-10911.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/security/CVE-2019-10911.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/symfony/symfony/CVE-2019-10911.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/symfony/symfony"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/blog/cve-2019-10911-add-a-separator-in-the-remember-me-cookie-hash"
  }, {
    "type" : "WEB",
    "url" : "https://symfony.com/cve-2019-10911"
  }, {
    "type" : "WEB",
    "url" : "https://www.synology.com/security/advisory/Synology_SA_19_19"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-02-11T20:17:08Z",
    "nvd_published_at" : "2019-05-16T22:29:00Z"
  }
}