GHSA-p9mp-vq4v-v5m5: Ezsystems/ezpublish legacy EZ Publish Legacy Passwordless Login Vulnerability

HIGH
CWE-285
Published
Advisory Summary

GHSA-p9mp-vq4v-v5m5 is a HIGH ez publish legacy passwordless login vulnerability (CWE-285: Improper Authorization) affecting Ezsystems/ezpublish legacy libraries in the Packagist ecosystem. The issue involves ez publish legacy passwordless login for ldap users. Remediation is available by upgrading affected packages to version 2018.9.1.1, 2018.6.1.2, 2017.12.4.1, 5.4.12.1, 5.3.12.4.

GHSA-p9mp-vq4v-v5m5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-p9mp-vq4v-v5m5
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-285: Improper Authorization
Affected Product Ezsystems/ezpublish legacy
Package Ecosystem Packagist
Published Date
Last Updated

How to Fix GHSA-p9mp-vq4v-v5m5

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

ezsystems/ezpublish-legacy fixed: 2018.9.1.1
Upgrade ezsystems/ezpublish-legacy to 2018.9.1.1
ezsystems/ezpublish-legacy fixed: 2018.6.1.2
Upgrade ezsystems/ezpublish-legacy to 2018.6.1.2
ezsystems/ezpublish-legacy fixed: 2017.12.4.1
Upgrade ezsystems/ezpublish-legacy to 2017.12.4.1
ezsystems/ezpublish-legacy fixed: 5.4.12.1
Upgrade ezsystems/ezpublish-legacy to 5.4.12.1
ezsystems/ezpublish-legacy fixed: 5.3.12.4
Upgrade ezsystems/ezpublish-legacy to 5.3.12.4
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 ezsystems/ezpublish-legacy

How to Check if You Are Affected

To determine whether your application is affected by GHSA-p9mp-vq4v-v5m5, inspect your project dependencies for Ezsystems/ezpublish legacy:

inspect dependencies for ezsystems/ezpublish-legacy

Analyze the terminal output to locate any version of Ezsystems/ezpublish legacy in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2018.9.1.1), 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-285: Improper Authorization, where the product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action. In Ezsystems/ezpublish legacy, 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

This security advisory fixes a vulnerability in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy. Installations that are using the legacy LDAP login handler or the TextFile login handler in combination with the standard legacy login handler, may in rare cases be vulnerable to a failure of the standard login handler to verify passwords correctly, allowing unauthorised access. If your installation has never used the LDAP or TextFile login handlers, or never used legacy login at all, then it is not affected. Still, we recommend installing the update, to be on the safe side. To install, use Composer to update to one of the "Resolving versions" mentioned above, or apply this patch manually: https://github.com/ezsystems/ezpublish-legacy/commit/13f03a2be6c0ee4d0caaafaef05904ea9b0c4d9d

GHSA-p9mp-vq4v-v5m5 Affected Ezsystems/ezpublish legacy Versions

5 component(s)
Fixed Versions:
2018.9.1.12018.6.1.22017.12.4.15.4.12.15.3.12.4
Product / Package Ecosystem Affected Versions Fixed Version
ezsystems/ezpublish-legacy
Packagist
≥ 2018.9.0
< 2018.9.1.1
2018.9.1.1
ezsystems/ezpublish-legacy
Packagist
≥ 2018.6.0
< 2018.6.1.2
2018.6.1.2
ezsystems/ezpublish-legacy
Packagist
≥ 2011.0.0
< 2017.12.4.1
2017.12.4.1
ezsystems/ezpublish-legacy
Packagist
≥ 5.4.0
< 5.4.12.1
5.4.12.1
ezsystems/ezpublish-legacy
Packagist
≥ 5.3.0
< 5.3.12.4
5.3.12.4

References

Frequently Asked Questions

What is GHSA-p9mp-vq4v-v5m5?
GHSA-p9mp-vq4v-v5m5 is a security vulnerability in Ezsystems/ezpublish legacy involving eZ Publish Legacy Passwordless login for LDAP users under CWE-285: Improper Authorization.
Which Ezsystems/ezpublish legacy versions are affected?
Affected versions include releases prior to 2018.9.1.1, 2018.6.1.2, 2017.12.4.1, 5.4.12.1, 5.3.12.4 across affected packages: ezsystems/ezpublish-legacy.
What version fixes GHSA-p9mp-vq4v-v5m5?
Upgrading to 2018.9.1.1, 2018.6.1.2, 2017.12.4.1, 5.4.12.1, 5.3.12.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is ezsystems/ezpublish-legacy affected?
Yes, ezsystems/ezpublish-legacy is affected in releases prior to 2018.9.1.1, 2018.6.1.2, 2017.12.4.1, 5.4.12.1, 5.3.12.4. Upgrade your dependency to 2018.9.1.1, 2018.6.1.2, 2017.12.4.1, 5.4.12.1, 5.3.12.4 or later.
What CWE is associated with GHSA-p9mp-vq4v-v5m5?
GHSA-p9mp-vq4v-v5m5 is classified under CWE-285: Improper Authorization (The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.).
How can I check Packagist dependencies for GHSA-p9mp-vq4v-v5m5?
Run the dependency tree command: 'inspect dependencies for ezsystems/ezpublish-legacy'. 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-p9mp-vq4v-v5m5",
  "modified" : "2024-05-15T21:30:03Z",
  "published" : "2024-05-15T21:30:03Z",
  "aliases" : [ ],
  "summary" : "eZ Publish Legacy Passwordless login for LDAP users",
  "details" : "This security advisory fixes a vulnerability in eZ Publish Legacy, and we recommend that you install it as soon as possible if you are using Legacy.\n\nInstallations that are using the legacy LDAP login handler or the TextFile login handler in combination with the standard legacy login handler, may in rare cases be vulnerable to a failure of the standard login handler to verify passwords correctly, allowing unauthorised access.\n\nIf your installation has never used the LDAP or TextFile login handlers, or never used legacy login at all, then it is not affected. Still, we recommend installing the update, to be on the safe side.\n\nTo install, use Composer to update to one of the \"Resolving versions\" mentioned above, or apply this patch manually:\nhttps://github.com/ezsystems/ezpublish-legacy/commit/13f03a2be6c0ee4d0caaafaef05904ea9b0c4d9d\n\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2018.9.0"
      }, {
        "fixed" : "2018.9.1.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2018.6.0"
      }, {
        "fixed" : "2018.6.1.2"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2011.0.0"
      }, {
        "fixed" : "2017.12.4.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.4.0"
      }, {
        "fixed" : "5.4.12.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "ezsystems/ezpublish-legacy"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "5.3.0"
      }, {
        "fixed" : "5.3.12.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/pull/1394"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/ezsystems/ezpublish-legacy/commit/01930a95637389301f762be1439f726013e58aba"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/ezsystems/ezpublish-legacy/2018-10-31-1.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/ezsystems/ezpublish-legacy"
  }, {
    "type" : "WEB",
    "url" : "https://issues.ibexa.co/browse/EZP-29703"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20201027063527/https://magento.com/security/news/new-zend-framework-1-security-vulnerability"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20210614184552/https://share.ez.no/community-project/security-advisories/ezsa-2018-005-passwordless-login-for-ldap-users"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-285" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T21:30:03Z",
    "nvd_published_at" : null
  }
}