GHSA-2m5g-8xpw-42vp: Cartalyst/sentry OpenCFP Framework (Sentry) Account Takeover Vulnerability

HIGH
CVSS 8.9
Published
Advisory Summary

GHSA-2m5g-8xpw-42vp is a HIGH (CVSS 8.9) opencfp framework (sentry) account takeover vulnerability (General Security Weakness) affecting Cartalyst/sentry libraries in the Packagist ecosystem. The issue involves opencfp framework (sentry) account takeover via null password reset codes. Remediation is available by upgrading affected packages to version 2.1.7.

GHSA-2m5g-8xpw-42vp at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-2m5g-8xpw-42vp
Severity HIGH
CVSS v3.1 Base Score 8.9
CWE Classification General Security Weakness
Affected Product Cartalyst/sentry
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.9

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

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

How to Fix GHSA-2m5g-8xpw-42vp

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

cartalyst/sentry fixed: 2.1.7
Upgrade cartalyst/sentry to 2.1.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 cartalyst/sentry

How to Check if You Are Affected

To determine whether your application is affected by GHSA-2m5g-8xpw-42vp, inspect your project dependencies for Cartalyst/sentry:

inspect dependencies for cartalyst/sentry

Analyze the terminal output to locate any version of Cartalyst/sentry in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.7), 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 General Security Weakness. In Cartalyst/sentry, 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

OpenCFP, an open-source conference talk submission system written in PHP, contains a security vulnerability in its third-party authentication framework, Sentry, developed by Cartalyst. The vulnerability stems from how Sentry handles password reset checks. Users lacking a password reset token stored in the database default to having NULL in the reset_password_code column. Exploiting this flaw could allow unauthorized manipulation of any OpenCFP user's password, particularly those without an unused password reset token. Although successful login still requires correlating the numeric user ID with an email address, the identification of likely organizers (users 1-5) may facilitate this process.

GHSA-2m5g-8xpw-42vp Affected Cartalyst/sentry Versions

1 component(s)
Fixed Versions:
2.1.7
Product / Package Ecosystem Affected Versions Fixed Version
cartalyst/sentry
Packagist
< 2.1.7
2.1.7

References

Frequently Asked Questions

What is GHSA-2m5g-8xpw-42vp?
GHSA-2m5g-8xpw-42vp is a security vulnerability in Cartalyst/sentry involving OpenCFP Framework (Sentry) Account takeover via null password reset codes under General Security Weakness.
Which Cartalyst/sentry versions are affected?
Affected versions include releases prior to 2.1.7 across affected packages: cartalyst/sentry.
What version fixes GHSA-2m5g-8xpw-42vp?
Upgrading to 2.1.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is cartalyst/sentry affected?
Yes, cartalyst/sentry is affected in releases prior to 2.1.7. Upgrade your dependency to 2.1.7 or later.
What is the CVSS score of GHSA-2m5g-8xpw-42vp?
GHSA-2m5g-8xpw-42vp has a CVSS v3.1 base score of 8.9 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L.
What CWE is associated with GHSA-2m5g-8xpw-42vp?
GHSA-2m5g-8xpw-42vp is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-2m5g-8xpw-42vp?
Run the dependency tree command: 'inspect dependencies for cartalyst/sentry'. 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-2m5g-8xpw-42vp",
  "modified" : "2026-07-15T21:53:21Z",
  "published" : "2024-05-15T18:07:44Z",
  "aliases" : [ ],
  "summary" : "OpenCFP Framework (Sentry) Account takeover via null password reset codes",
  "details" : "OpenCFP, an open-source conference talk submission system written in PHP, contains a security vulnerability in its third-party authentication framework, Sentry, developed by Cartalyst. The vulnerability stems from how Sentry handles password reset checks. Users lacking a password reset token stored in the database default to having NULL in the reset_password_code column. Exploiting this flaw could allow unauthorized manipulation of any OpenCFP user's password, particularly those without an unused password reset token. Although successful login still requires correlating the numeric user ID with an email address, the identification of likely organizers (users 1-5) may facilitate this process.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:L"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "cartalyst/sentry"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.1.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/cartalyst/sentry/commit/c679730b8848686f59125cd821bf94946fb16a94"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/cartalyst/sentry/2016-09-05.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/cartalyst/sentry"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/cartalyst/sentry/releases/tag/v2.1.7"
  }, {
    "type" : "WEB",
    "url" : "https://haxx.ml/post/149975211631/how-i-hacked-your-cfp-and-probably-some-other"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20180119075946/https://haxx.ml/post/149975211631/how-i-hacked-your-cfp-and-probably-some-other"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-05-15T18:07:44Z",
    "nvd_published_at" : null
  }
}