GHSA-2m5g-8xpw-42vp OpenCFP Framework (Sentry) Account takeover via null password reset codes
Not scored
Published
Check this codebase for GHSA-2m5g-8xpw-42vp and fix it if it is affected.
What it is: GHSA-2m5g-8xpw-42vp is an authentication bypass vulnerability in cartalyst/sentry, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-2m5g-8xpw-42vp in the wild and no public exploit code.
Affected packages and fixed versions:
- cartalyst/sentry (Packagist): affected all versions; fixed in 2.1.7
- cartalyst/sentry (Packagist): affected all versions; fixed in 2.1.7
Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.
Reference: https://insights.sbomify.com/GHSA-2m5g-8xpw-42vp/ (Markdown: https://insights.sbomify.com/GHSA-2m5g-8xpw-42vp/index.md)
Attackers can take over OpenCFP user accounts by exploiting null password reset codes in the Sentry authentication framework.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-2m5g-8xpw-42vp?
GHSA-2m5g-8xpw-42vp is an authentication bypass vulnerability in cartalyst/sentry, published on 15 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Which versions are affected by GHSA-2m5g-8xpw-42vp?
2 open source packages ship an affected version, including cartalyst/sentry.
| Package | Affected | Fixed in |
|---|---|---|
cartalyst/sentry Packagist | All versions | 2.1.7 |
cartalyst/sentry Packagist | All versions | 2.1.7 |
How do I fix GHSA-2m5g-8xpw-42vp?
Upgrade cartalyst/sentry to 2.1.7 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is GHSA-2m5g-8xpw-42vp being exploited?
There is no known exploitation of GHSA-2m5g-8xpw-42vp in the wild and no public exploit code.